Wednesday, May 4, 2016

Remove all thumbs.db files in Ubuntu

Remove all thumbs.db files in Ubuntu

following command will be find and delete the "thumbs.db"

 find . -iname 'thumbs.db' -exec rm -rfv {} +

for more detail about command and switch

http://explainshell.com/explain?cmd=find+.+-iname+%27thumbs.db%27+-exec+rm+-rfv+%7B%7D+%2B

find . -iname '*.db'| xargs rm -rfv

http://explainshell.com/explain?cmd=find+.+-iname+%22*.db%22+%7C+xargs+rm+-rfv