[Snort-users] Free Inodes

J-H Johansen ondemannen at ...11827...
Wed Jun 8 04:46:32 EDT 2005


>
> find / -atime +1h -delete
>
> Will this break things?

Well, that depends if you're root or not.

Just to make sure you don't delete something you'd rather not delete.
I'd opt for the following (although I don't have the delete argument
on my Solaris, so I pipe it to xargs rm -f)

find /path/to/dir -atime +1h -name file-name.to_lookfor\* -delete


-- 
J-H Johansen
--
There are 10 kinds of people in the world: Those who understand binary and
those who don't...




More information about the Snort-users mailing list