PDA

View Full Version : [ubuntu] How can I scramble access times and


shaggy999
December 18th, 2009, 02:35 AM
Does anybody have an idea of how I could scramble access time and modification time data on an entire directory of files?

blackmail
December 18th, 2009, 02:40 AM
If you want you could take a look here (http://linux.die.net/man/1/touch), I think it would help you further.

Agent ME
December 18th, 2009, 03:09 AM
This command will update the modification and access times of all contents of a folder to the present time. You can use a single period "." to represent the current folder.
find somefolder -execdir touch -c '{}' +