This copies all matched files somewhere.
Here, we recursively copy all files ending in .jpeg in the current directory into the folder
find ./ -name *.jpeg -exec cp {} ~/home/user/jpegs \;
./
- current location, *.jpeg
- bash match whatever.jpeg -exec cp {}
- execute cp on each file found, destination folder, \;
find argument terminator (an escaped semicolon)
No Comments Yet!