Timestamp same as another file

A way to set the timestamp on one file the same as on another file: TIMESTAMP=`stat -c %Y onefile.txt` touch -d @$TIMESTAMP anotherfile.txt Or use date -r with the right format for the seconds since epoch

About this Entry

This page contains a single entry by Robert James Clay published on July 16, 2009 10:17 AM.

Public GIT repository for BBBSDEB was the previous entry in this blog.

GIT Reposistories available at SourceForge is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.