Good point:[code]
find /temp1 -mtime +7 -type f -ls
OR
find /temp1 -mtime +7 -type f -exec ls -l {} \;[/code]
Delete files older than 7 days?
-
- Posts: 1478
- Joined: 2006/05/29 16:50:11
- Location: San Francisco, CA
Re: Delete files older than 7 days?
Yep. You get one of those that goes wrong and you can wreak a lot of havoc in a short amount of time. ;-)
Don't ask me how I know this.
Don't ask me how I know this.
Re: Delete files older than 7 days?
thanks to all for reply i'll start testing.
Re: Delete files older than 7 days?
[quote]
michaelnel wrote:
Yep. You get one of those that goes wrong and you can wreak a lot of havoc in a short amount of time. ;-)
Don't ask me how I know this.[/quote]
Do tell. :-D
michaelnel wrote:
Yep. You get one of those that goes wrong and you can wreak a lot of havoc in a short amount of time. ;-)
Don't ask me how I know this.[/quote]
Do tell. :-D
-
- Posts: 1478
- Joined: 2006/05/29 16:50:11
- Location: San Francisco, CA
Re: Delete files older than 7 days?
[quote]
toracat wrote:
Do tell. :-D[/quote]
Gimme root access on one of your systems and I will demonstrate.
toracat wrote:
Do tell. :-D[/quote]
Gimme root access on one of your systems and I will demonstrate.