-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to replace forbidden characters with unicode equivalent #616
Comments
A bit of a stretch: |
|
I suppose we could provide additional arguments to the |
This is part of a bash script I made to process rips that, among other things, was indented to deal with this plus a few things that just annoy me. I targeted CIFS illegal characters (not FAT32) since my files are stored on Linux and shared with SAMBA. I assume since whipper runs in Linux that illegal Linux file names are already dealt with. Any specifics for FAT would need to be added. You are more than welcome to adapt it to your use case. Script assumes MUSIC/ARTIST/ALBUM directory structure and is run from the MUSIC level (i.e. the directory containing the ARTIST folders). Directories are renamed first, then files. CAUTION: This script is potentially dangerous as it will modify your files! Use only if you understand what it is doing and you agree to what it does! If executed as-is, this will only show what files will be changed. Remove the 'echo' command from the final if block to actually have it work.
|
I use whipper to rip CDs on a Linux system, which I then consume from my NAS over SMB, so directory and file names created shouldn't have any Unix or FAT32 forbidden characters.
It would be great if there was an option to replace forbidden characters with look-alike Unicode characters.
For example:
/ with ∕ or ⁄ (0x2f slash with fraction slash or division slash)
: with ∶ (0x58 with ratio)
etc.
I believe those 2 would cover most of my own rips.
The text was updated successfully, but these errors were encountered: