Temp files
Robert Locke
rlocke at ralii.com
Fri Sep 10 14:17:35 UTC 2004
On Fri, 2004-09-10 at 05:44, Nifty Hat Mitch wrote:
> Hint:
>
> If you cannot discover where an application is leaving
> stuff you might try taking advantage of system time stamps
> on files and use find.
>
> In a shell window
>
> # touch /tmp/now
>
> Next start up the browser/tool in question and check some pages.
> Quit that application.
>
> Now lets find things that are new.
> Again in a shell window.
>
> # find ~ -type f -newer /tmp/now -print
>
> Aha....not all files are guaranteed to be in your home dir.
>
> # find / -type f -newer /tmp/now -print > /tmp/list-of-files
>
> Ignore the errors about files you do not have permission for
> because we are looking for files you created (cached).
> Now look at it.
>
> # less /tmp/list-of-files
>
> If all the "new" files are in the expected places and make sense then
> you done. Linux has lots of stuff going on so expect other files...
>
Now, that's cooooool.....
Had never used -newer before.... New tip for the day being saved for
later reference.....
Thanks, and I didn't even ask the question... :-)
--Rob
More information about the users
mailing list