Created
October 8, 2014 09:37
-
-
Save magnetikonline/b455a75fca6b863cb8d1 to your computer and use it in GitHub Desktop.
Add one day to file modification time on a collection of files in bash.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -type f -exec touch -r "{}" -d '+1 day' "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment