Re: Modified Date Problem - How to change modified date of many files?
- From: "ISOHaven" <ISOHaven@xxxxxxxxxx>
- Date: Mon, 25 Jun 2007 16:10:53 -0700
"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.
.
- References:
- Modified Date Problem - How to change modified date of many files?
- From: ISOHaven
- Re: Modified Date Problem - How to change modified date of many files?
- From: Douglas O'Neal
- Modified Date Problem - How to change modified date of many files?
- Prev by Date: Re: So which distro is really the best
- Next by Date: Re: So which distro is really the best
- Previous by thread: Re: Modified Date Problem - How to change modified date of many files?
- Next by thread: Re: Modified Date Problem - How to change modified date of many files?
- Index(es):
Relevant Pages
|