Quote:
Originally Posted by bigalownz
thanks for your help
will it change the date on all files?
as i just want .html to change
|
As darksoul said, the script I provided will change all files regardless of extension, and is admittedly exhaustive on CPU and I/O resources because it has to keep opening and closing files. You would be better off taking darksoul's advice and doing the following:
Quote:
Originally Posted by darksoul
go to the directory where the files are and run this command (ssh)
Code:
find . -name "*.html" -print0|xargs -0 touch
P.S. the php script above changes all files regardless of extension
|
As for me, one day I'll lock myself in a room and force myself to learn the ins and outs of Linux... one day...