View Single Post
Old 06-03-2012, 04:49 PM  
- Jesus Christ -
Confirmed User
 
Industry Role:
Join Date: Mar 2003
Location: ::::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::||||||||||||:::::: :::::::::::||::::::::::: :::::::::::||::::::::::: ::::::::::::::::::::::::
Posts: 7,197
Be aware that sed will change the modified date of EVERY file it opens not just the ones it makes changes to. You should pipe the output of a find/grep to sed if you are going to change a lot of files at once.

Restoring 50K files to get their modified dates back was not fun for me a few months ago.
__________________

Amen
- Jesus Christ - is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote