View Single Post
Old 06-30-2014, 06:55 AM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Fenrir007 View Post
Bonus question unrelated to Calibre - is there an easy way (with some software or whatnot) of purging a tree of folders of all .docs, .htmls and .txt? Subfolders included.
As BetterRed said.

On linux I would use something like this terminal command (from the root of the target folder tree):
Code:
find . -name "*.bak" -type f -delete
To remove multiple filetypes:
Code:
find . -regex ".*\.\(txt\|doc\|html\)$" -type f -delete

Last edited by eschwartz; 06-30-2014 at 06:57 AM.
eschwartz is offline   Reply With Quote