how can I change the timestamp of a symlink
I have a directory containing files and symlinks to files elswhere
I make a copy of the directory like this
cp -rp dir/* new_dir
the files in new_dir have their original timestamps, but the symlinks have the current time.
touch -t does not operate on the symblink but on the files they reference.
is there a way to set the timestamp of the symlink to a time in the past?
|