opusthe2nd macrumors 6502 Original poster Jun 5, 2008 #1 I have a dir that goes 10 levels deep. I want to extract all the jpg's out of them and into 1 dir. I am looking for a CLI syntax....any ideas?
I have a dir that goes 10 levels deep. I want to extract all the jpg's out of them and into 1 dir. I am looking for a CLI syntax....any ideas?
reclusivemonkey macrumors 6502 Jun 6, 2008 #2 opusthe2nd said: I have a dir that goes 10 levels deep. I want to extract all the jpg's out of them and into 1 dir. I am looking for a CLI syntax....any ideas? Click to expand... Have you considered playing a little with Automator? If you want to do this sort of thing often, I think you will like it. Power of CLI + GUI ease...
opusthe2nd said: I have a dir that goes 10 levels deep. I want to extract all the jpg's out of them and into 1 dir. I am looking for a CLI syntax....any ideas? Click to expand... Have you considered playing a little with Automator? If you want to do this sort of thing often, I think you will like it. Power of CLI + GUI ease...
opusthe2nd macrumors 6502 Original poster Jun 6, 2008 #3 Havent messed with automator, I'm a die hard cli guy. :/ Anyways, I basically did cp */*/*/*/*.jpg's ~/newfolder and it worked. I had done this before in one swell foop but forgot what the syntax was. This worked just fine...thanks.
Havent messed with automator, I'm a die hard cli guy. :/ Anyways, I basically did cp */*/*/*/*.jpg's ~/newfolder and it worked. I had done this before in one swell foop but forgot what the syntax was. This worked just fine...thanks.