Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Using programs and commands that do not have a graphical user interface (GUI) but are rather controlled by typing text commands into a terminal program, or shell.
1
vote
A command to copy the access time of files on macOS 11.6 Big Sur
This script should do the trick:
#!/bin/sh
if [ $# -ne 2 ]; then
echo "Usage: $(basename $0) source destination"
exit 1
fi
FMT="%Y%m%d%H%M.%S"
atime=$(stat -f %Sa -t "$FMT" "$1")
if [ -n "$at …
5
votes
A command to copy the access time of files on macOS 11.6 Big Sur
Even simpler!
touch -a -r sourcefile destinationfile
This only changes access time, while my other example changed both access and modification time on the destination. See man touch for details.
No …