Terminal 101: Use the Find Command to Move a Large Batch of Files



+ Add a Comment


i used your command and it works properly

i want to use it without the filter that modifies the last 2 days so i wrote the above

find $HOME -iname "*.jpg" -exec mv {} /Desktop/archive \;

it transfers everything but if a file has the same name with another it replaces it.
can i use this command without the replacement of the files? i want to keep them all!

thanks in advance



Thanks guy, at least your articles are very useful...I only hope you win the Nobel prize of MacLife.

Log in to Mac|Life directly or log in using Facebook

Forgot your username or password?
Click here for help.

Login with Facebook
Log in using Facebook to share comments and articles easily with your Facebook feed.