Re: Modified Date Problem - How to change modified date of many files?



hanks, Justin Emlay Systems Administrator Maisto International, Inc.
909-357-7988 ext.360 909-357-9958 fax JEmlay@xxxxxxxxxxxxxxxxxx
www.maycheonggroup.com
"Douglas O'Neal" <oneal@xxxxxxxxxxxx> wrote in message
news:f5p50k$irn$1@xxxxxxxxxxxxxxxxxxxxxxx
ISOHaven wrote:
I have an Adaptec storage server that is Linux based. Some how two of my
macs have created thousands of files that contain a modified date of the
year 1903. This is in turn causing thousands of error messages with my
backup system.

Does anyone have any insight as to how I can reset all these files to
have a
current modified date? If I have to change ALL the files in a specific
root
folder then so be it. Whatever will get the job done.

Thanks for any info!

find / -type f -mtime +7305 -print0 | xargs --null touch -m

find all files modified over roughly twenty years ago and set the
modification to the current time.

Doug

Thanks for the reply! I should also note that I'm a novice linux user:

sh-2.04# find / -type f -mtime +7305 -print0 | xargs --null touch -m
sh: xargs: command not found

:(


.