add remove spaces script
This commit is contained in:
parent
7ab83e358d
commit
dc29e9d088
9
remove_spaces.sh
Normal file
9
remove_spaces.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
IFS=$'\n';
|
||||||
|
for f in `find .`; do
|
||||||
|
file=$(echo $f | tr [:blank:] '_')
|
||||||
|
[ -e $f ] && [ ! -e $file ] && mv "$f" $file;
|
||||||
|
done;
|
||||||
|
|
||||||
|
unset IFS
|
Loading…
Reference in New Issue
Block a user