summaryrefslogtreecommitdiff
path: root/src/scripts/nospac
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-02-18 17:36:51 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-02-18 17:36:51 +0400
commitd1e8f727620479a98ad568e8e3dc98e84bef45b2 (patch)
tree56a8dedb74e9e8a6f8692027e3eadd201eb37c5f /src/scripts/nospac
parentf40c73f3b30547f7267c84bd22677dec65029dc4 (diff)
version 0.2
Diffstat (limited to 'src/scripts/nospac')
-rwxr-xr-xsrc/scripts/nospac2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripts/nospac b/src/scripts/nospac
index d69003d..3dee5de 100755
--- a/src/scripts/nospac
+++ b/src/scripts/nospac
@@ -1,3 +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