the command between -execdir and \ is the command to run for each match found.the argument to -name is the filename that needs changing in all directories,. either the full pathname or relative to what directory you are in, so if you're already in that directory you can just use. /path/to/family_foobar is the directory to start in (e.g.Code: Select all find /path/to/family_foobar -name rad.png -execdir mv rad.png red.png \
0 Comments
Leave a Reply. |