Created
January 4, 2019 14:07
-
-
Save courville/13eeb4a9e001e7b4ee9fb0726e42844b to your computer and use it in GitHub Desktop.
fix filenames to avoid samba client name mangling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -name \*"[\*\?\:<>\\\"\|]"\* -print0 | xargs -0 rename -v 's/[\*\?\:<>\\\"\|]/_/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment