Thursday, September 22, 2011

Touch all files within the current directory

If you need to update all files within the current directory with the latest timestamp you can use the following command:
find . -type f -exec touch {} \;

No comments:

Post a Comment