Hi all,
I'm sat on my Mac Mini with a load of pictures all in folder with a complex hierarchy - so folders within folders etc. All these pics are JPEG, so .JPG in extension.
My problem is that I want to copy all of the pictures out of the directories, and put them all TOGETHER in a seperate directory. If I use the cp command at a terminal to do this, it retains the hierarchy (the paths of the files). So I'd like to do something like;
cp -rfv . *.JPG *.jpg ~/Dump/
Unfortunately this will pick up the the pictures, and put them into Dump with their full paths, instead of just all in there. For example; /My/Pictures/2007/June/*.JPG will go to ~/Home/Dump/My/Pictures/2007/June/*.JPG
Anyone got any tips, bit stuck as I can't seem to find a switch to use with cp to stop this...
Thanks
I'm sat on my Mac Mini with a load of pictures all in folder with a complex hierarchy - so folders within folders etc. All these pics are JPEG, so .JPG in extension.
My problem is that I want to copy all of the pictures out of the directories, and put them all TOGETHER in a seperate directory. If I use the cp command at a terminal to do this, it retains the hierarchy (the paths of the files). So I'd like to do something like;
cp -rfv . *.JPG *.jpg ~/Dump/
Unfortunately this will pick up the the pictures, and put them into Dump with their full paths, instead of just all in there. For example; /My/Pictures/2007/June/*.JPG will go to ~/Home/Dump/My/Pictures/2007/June/*.JPG
Anyone got any tips, bit stuck as I can't seem to find a switch to use with cp to stop this...
Thanks