Recursively Touch All Files
I like to use touch to set the same timestamp on files and folders. It makes it easier to quickly identify a file that has changed.
But how do you do this recursively? Easily:
$ find . -exec touch {} \;
You can then list all of the files, ordered by timestamp.
$ ls -lt
- Posted by Scott Stanger
- Posted in linux, useful stuff
- Aug, 01, 2013
- No Comments.
Search High Corral
Categories
- linux (6)
- ubuntu (2)
- ubuntu 12.04 LTS (1)
- useful stuff (2)