[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help with shell script



> find / -mtime +2 -type d -exec rm -rf \{} \;
>
> I wonder how long that will run before it eats itself?  Hasn't anyone
> wanted to do that just to see...
> ;)

I wouldn't do that, because the directory doesn't change if the file
contents change.

Jon


>
> *Note: The above line is a joke, please don't run it on your system
>
> --
> Michael Gargiullo <mgargiullo warpdrive net>
> Warp Drive Networks
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]