rpls 96 B

123456
  1. #!/bin/sh
  2. # replace spaces in filenames with -
  3. for f in *\ *; do
  4. mv "$f" "${f// /-}";
  5. done