Wednesday, December 29, 2021

Find and copy File recursively on MAC terminal

The following command find allt he files with *jpeg extension with in the current folder/children folders recursicely and copy all the files to the ~/mac-photos folder
$ find . -name "*.jpeg" -type f -exec cp {} ~/mac-photos \;

Read More...

Pages

 ©mytechtoday.com 2006-2010

 ©Mytechtoday

TOP