Please advice what is wrong with the following command
find /tmp/dir -name "* *" -type f | rename 's/*/fixed_/g'
remark - I prefer to do that with one command not loop syntax
What I want is to rename all the files under /tmp/dir , by adding the name fixed_ before each file
For example ( the files )
Fevc.txt
Ddve.txt
Should rename to:
fixed_Fevc.txt
fixed_Ddve.txt
find
command even give output? It is perfectly find to omit-name
here.