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



"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

sh-2.04# sh --version
GNU bash, version 2.04.25(1)-release (i386-quantum-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.


.



Relevant Pages