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

Re: deleting content of /tmp



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/24/07 19:07, Roberto C. Sánchez wrote:
> On Sat, Mar 24, 2007 at 05:03:44PM -0700, Raquel wrote:
>> I use the following in my crontab.  It gets rid of anything over a
>> week old.
>>
>> # Remove old cache files
>> 10 00 * * * find /tmp -type f -mtime +6 | xargs rm
>>
> However, realize that some programs create a file /tmp and then promptly
> unlink it, thus causing the file to take up space even though it does
> not have a directory entry.

How's that?

[snip]

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGBdKuS9HxQb37XmcRAt4gAJ9QuMowCWRcDuRT+putegCxnvBANQCgzhcr
lEcHgn4vFxRbxMcqvMCbupU=
=JqTZ
-----END PGP SIGNATURE-----



Reply to: