diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-07-20 20:18:30 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-07-20 20:18:30 +0400 |
commit | 73e31b79de25298a519671ef8b6c2ab68af9c87e (patch) | |
tree | fafbc2e405247cd1c9b1106d6346a5767071e14f /scripts/nospac | |
parent | ac76d8699e3979353cd82136323e1e0afee4bba2 (diff) |
directory layout changed
Diffstat (limited to 'scripts/nospac')
-rwxr-xr-x | scripts/nospac | 5 |
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 |