Open the file and modify android_special_chars if needed. On Linux, don't forget to change permissions: chmod +x remove_android_chars.sh Run with: ./remove_android_chars.sh "DIRECTORY" Example: ./remove_android_chars.sh "$HOME/Music"