I have a lot of files whose names end with '_100.jpg' in nested folders / subfolders Spread now I want a copy of '_crop.jpg' to retain them and make a move to rename them all. Unfortunately I am not familiar with Bash scripting, so do not know the exact way to do this. I googled and tried with 'search' command '-exec' paragraph but with no fate
Plaz help me thank you.
find bar -iname "* _100.jpg" -printf 'mv% p% P \ N '\ | Sed 's / _100 \ .jpg $ / _ crop \ .jpg /' \ | While reading l; Done
Comments
Post a Comment