Is there a app / command that will hunt for specified files ( thumbs.db, .m3u and similar ) files across my home dir and delete them?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
Not forgetting the use of '*' in the search... use one of these. The find command has a delete switch, but it is more common to see and use the exec option.
Or you could use -regex not -name. |
|||||||||||||
|
|
None of the others are wrong, but before letting something off like this, make sure you test it without the eg:
I might even go one further and say perhaps have the files moved into your trash (instead of being straight-deleted) so at least you can undo the process:
|
|||
|
|
|
That can be done from the terminal with the following command, use it with CAUTION:
It will starting search your home dir for files matching that name and will execute rm (remove) on them. |
|||
|
|
|
Open a terminal and execute this command.
|
|||
|
|