System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i find the unwanted files in temp directory

navakanth
Occasional Visitor

How can i find the unwanted files in temp directory

I want to delete files from the temp directory.

so how can i know the unwanted files.. can any one suggest me?

 

2 REPLIES
Torsten.
Acclaimed Contributor

Re: How can i find the unwanted files in temp directory

I think you need to define "unwanted files" first ...


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: How can I find the unwanted files in temp directory

Are you talking about /tmp/ or /var/tmp/?

Unwanted could just be "older" files:

find /tmp -mime +10