summaryrefslogtreecommitdiff
path: root/scripts/nospac
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nospac')
-rwxr-xr-xscripts/nospac5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/nospac b/scripts/nospac
new file mode 100755
index 0000000..3dee5de
--- /dev/null
+++ b/scripts/nospac
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Replace all the spaces in file names with "_" in the current working directory
+
+for file in *; do mv "$file" `echo $file | tr ' ' '_'` ; done