Wednesday, December 29, 2021

Find and copy File recursively on MAC terminal

Facebook

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 \;

0 comments:

Post a Comment

I love to entertain onymous user Comment !

Pages

 ©mytechtoday.com 2006-2010

 ©Mytechtoday

TOP