208.319.9835

Boise, Idaho
Or Remote

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

Leave a Reply

Your email address will not be published. Required fields are marked *