dharple / detox

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

Operate on std-in list of names and generate list out names on std-out #90

Closed aberezin closed 2 years ago

aberezin commented 2 years ago

Or, alternatively, just take a string from the cmd line and operate on it as if it was the name to detox. For example:

echo -e "bad\ filename\nworse +filename.foo" | detox

or

detox --string-input 'really+#bad filename'

dharple commented 2 years ago

Great idea! We already have some support for that. You can use detox --inline or inline-detox to accomplish what you're trying to do.

Thanks!