Answer the question
In order to leave comments, you need to log in
Utility to rename in depth in all files?
Good evening!
I'm looking for a utility under ubuntu for renaming all files in the depth where the match of the text inside the files is found.
I know there is such a utility in webstorm, but I don’t want to use such a monster for a small task :)
Thank you!
Answer the question
In order to leave comments, you need to log in
for i in `
find /yourdirectory -type f`;do sed -i 's/change/change/g' $i;
done
-entry-text=""`
b=`zenity --entry --text="What to change to" --entry-text=""`
for i in `find /yourdirectory -type f`;do sed -i " s/${a}/${b}/g" $i;done
stackoverflow.com/questions/6758963/find-and-repla...
replacing the text inside ,or should the name be replaced?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question