replace spaces in filenames in bulk

 Dealing with spaces on the commandline in linux is a pain. This commandline will strip spaces and replace with underscores:


for f in *\ *; do mv "$f" "${f// /_}"; done 2>/dev/null


Popular posts from this blog

Automatically Fix Song Metadata and Filenames on Linux with Beets

Enable Anydesk on Linux

Boot MacOS under VirtualBox