You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm SO glad someone mentioned your tool on StackOverflow - I just wish I'd found this earlier since I spent days making a script using basename, dirname, sed etc. and while I've completed some of what I need, there is more to go. Having just found detox and having a look at the man page/pdf file thing I wasn't really sure if the following could be done in a single (or maybe couple?) of detox commands but do let me know either way.
What I'm trying to do:
Scan local directory for mkv and/or mp4 files, grab file names, replace characters with Greek / Cyrillic character set that LOOKS like English letters. So for example Fringe s03e01.mkv will become ƒгiпgє∙ѕΘЗєΘ1..мкν
I use a sed command that does this sed 'y/AaBbCcDdEefGHhIJjKklMmNnOoPpQqRrSsTtUuVvWwXxY0436 /дαввссĐđєєƒgнніjjккιммппοορρφφггѕѕттυυννωω××yΘЧЗб∙/ How would I do the same AND remove punctuation with detox?
Thanks again!
The text was updated successfully, but these errors were encountered:
I've never tried this (replacing a non-Unicode character wth a Unicode one), and I have no idea if it'll work or not. I'm not in a place where I can test this right now, but I'm curious to know if it works.
You can run tests using echo "filename" | inline-detox or echo "filename" | detox --inline
Hi
I'm SO glad someone mentioned your tool on StackOverflow - I just wish I'd found this earlier since I spent days making a script using
basename
,dirname
,sed
etc. and while I've completed some of what I need, there is more to go. Having just found detox and having a look at the man page/pdf file thing I wasn't really sure if the following could be done in a single (or maybe couple?) of detox commands but do let me know either way.What I'm trying to do:
Scan local directory for mkv and/or mp4 files, grab file names, replace characters with Greek / Cyrillic character set that LOOKS like English letters. So for example
Fringe s03e01.mkv
will becomeƒгiпgє∙ѕΘЗєΘ1..мкν
I use a
sed
command that does thissed 'y/AaBbCcDdEefGHhIJjKklMmNnOoPpQqRrSsTtUuVvWwXxY0436 /дαввссĐđєєƒgнніjjккιммппοορρφφггѕѕттυυννωω××yΘЧЗб∙/
How would I do the same AND remove punctuation with detox?Thanks again!
The text was updated successfully, but these errors were encountered: