Re: Temp files

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

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux