#!/bin/bash | |
find a/ -type f -print | while read f | |
do | |
mv "$f" "$(sed 's/[^0-9A-Za-z_./()- ]/_/g' <<< "$f")" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#!/bin/bash | |
find a/ -type f -print | while read f | |
do | |
mv "$f" "$(sed 's/[^0-9A-Za-z_./()- ]/_/g' <<< "$f")" | |
done |