dharple / detox

Tames problematic filenames
BSD 3-Clause "New" or "Revised" License
332 stars 19 forks source link

Ignore folders? #95

Closed garyritchie closed 2 years ago

garyritchie commented 2 years ago

Wish I found detox a long time ago!

When using lower is it possible to adjust so it does not rename folders? I like to keep folder names in UPPER_CASE while files are lower_case.

garyritchie commented 2 years ago

Alternate method:

find . -type f -exec detox -f .detoxrc -s lower {} \;

My .detoxrc contains an additional ignore: filename "Thumbs.db"

dharple commented 2 years ago

Hello! I would also use find to target only files. There's no way to specifically target directories or files with detox itself.

garyritchie commented 2 years ago

Sounds good, thanks Doug.