How to delete temp directory (Ubuntu 14.04)
Hi Guys, Good day!
I'm trying to delete temp directory on my back up files for years of storage (Ubuntu 14.04) Executing this command, Code:
find -iname '*.tmp' -exec rm {} \; Code:
rm: cannot remove ‘./FileServer_2010_2011_2012/2010/operations_2010/IT/MSIb7230.tmp’: Is a directory TIA & Regards, |
Have you tried rmdir
|
It's works!, thanks EDDY1 :-)
Code:
find -iname '*.tmp' -exec rmdir {} \; |
You're welcome.
Mark thread as solved using the thread tools above. |
All times are GMT -5. The time now is 09:24 PM. |