Tyson Zinn
$ cp -p file.txt{,.bak}
Use shell expansion to create a back-up copy (file.txt.bak) of a file (file.txt) and keep the original last modified date and time.
by David Winterbottom (codeinthehole.com)
No comments:
Post a Comment