We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3f2d56 commit 5da97e7Copy full SHA for 5da97e7
file_rename.sh
@@ -2,6 +2,7 @@
2
3
### THIS SCRIPT SEARCH ALL FILE EXTENSION WITH TXT AND WILL REPLACE NAME WITH SPACE
4
5
-search_files="*.txt"
+search_files="*.txt" # search file location of searching where you intent to replace filename
6
+
7
find $1 -name "$search_files" -type f -print0 | \
8
while read -d $'\0' f; do mv -v "$f" "${f// /_}"; done
0 commit comments