Re: shell script for removing unprintable characters in file names
- Reply: Matthias Apitz : "Re: shell script for removing unprintable characters in file names"
- Reply: Per olof Ljungmark : "Re: shell script for removing unprintable characters in file names"
- In reply to: Per olof Ljungmark : "shell script for removing unprintable characters in file names"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Nov 2024 16:50:02 UTC
Per olof Ljungmark <peo@nethead.se> writes: > Hi, > > I am tasked with recovering hundreds or more files created with > unknown OSs and have unknown characters in the name, replaced with a > '?'. > > Like file?nam?.??? > > Please, if you have such a script can you post or email it? Replacing > the unknown character with anything, like '-' or '_' using whatever > shell, sh, bash or csh. You should look into the 'detox' port to see if it can do what you want. It is customizable if it the defaults don't work for you, although I just use the defaults. -- Carl Johnson carlj@peak.org