If I type the following into Terminal, it will remove all files that meet the search parameter:
sudo find . -type f -name "*Xilisoft*" -exec rm -rf {} \;
Then if I start again and type it with d
instead of f
it will remove all the directories
sudo find . -type d -name "*Xilisoft*" -exec rm -rf {} \;
How do I get it to remove type f
and d
in one fell swoop?