Re: [SLUG] Moving multiple files....

2006-04-19 Thread Martin Pool
On 17 Apr 2006, Benno <[EMAIL PROTECTED]> wrote: > If you are using zsh, it has a neat feature where you can glob down multiple > directories. E.g: > > mv /photos/**/*.jpg /newphotos > > Will match all .jpg files under photos. But you will end up with all those > jpgs > in the one directory whi

Re: [SLUG] Moving multiple files....

2006-04-18 Thread Sam Lawrance
On 18/04/2006, at 5:00 PM, Ben Stringer wrote: On Mon, 2006-04-17 at 09:20 +1000, Sam Lawrance wrote: find /photos -name '*.jpg' -exec mv '{}' /newphotos \; Beware with this method, if any photos have the same filename, the first ones moved will be clobbered by the last move. As they

Re: [SLUG] Moving multiple files....

2006-04-18 Thread Ben Stringer
On Mon, 2006-04-17 at 09:20 +1000, Sam Lawrance wrote: > > find /photos -name '*.jpg' -exec mv '{}' /newphotos \; Beware with this method, if any photos have the same filename, the first ones moved will be clobbered by the last move. Cheers, Ben -- SLUG - Sydney Linux User's Group Mailing Lis

Re: [SLUG] Moving multiple files....

2006-04-17 Thread Peter Rundle
Charles Myers wrote: Thanks for all the help guys. You have saved my life ;) Coming in a bit after the fact but just a couple of thoughts, *if* you had .jpg files in different directories of the same name, then obviously by moving them all into the one directory you will have lost some of th

Re: [SLUG] Moving multiple files....

2006-04-16 Thread Matthew Hannigan
On Mon, Apr 17, 2006 at 09:08:06AM +1000, Charles Myers wrote: > I have a heap of photos (sorted by iPhoto) and it does it in multiple > directories of year, month,date etc. I have moved the whole photo > tree over to my desktop (which runs ubuntu). I was hoping to move all > the .jpg's into a

Re: [SLUG] Moving multiple files....

2006-04-16 Thread Charles Myers
Thanks for all the help guys. You have saved my life ;) On Mon, 2006-04-17 at 09:31 +1000, Peter Hardy wrote: > On Mon, 2006-04-17 at 09:08 +1000, Charles Myers wrote: > > I have a heap of photos (sorted by iPhoto) and it does it in multiple > > directories of year, month,date etc. I have

Re: [SLUG] Moving multiple files....

2006-04-16 Thread Peter Hardy
On Mon, 2006-04-17 at 09:08 +1000, Charles Myers wrote: > I have a heap of photos (sorted by iPhoto) and it does it in multiple > directories of year, month,date etc. I have moved the whole photo > tree over to my desktop (which runs ubuntu). I was hoping to move all > the .jpg's into a single

Re: [SLUG] Moving multiple files....

2006-04-16 Thread Benno
On Mon Apr 17, 2006 at 09:08:06 +1000, Charles Myers wrote: >Guys, I have searched google etc but failed to find an answer to this >(im pretty sure though I have seen somewhere that it can be done...) > > >I have a heap of photos (sorted by iPhoto) and it does it in multiple >directories of year, m

Re: [SLUG] Moving multiple files....

2006-04-16 Thread Sam Lawrance
On 17/04/2006, at 9:08 AM, Charles Myers wrote: Guys, I have searched google etc but failed to find an answer to this (im pretty sure though I have seen somewhere that it can be done...) I have a heap of photos (sorted by iPhoto) and it does it in multiple directories of year, month,date etc.

[SLUG] Moving multiple files....

2006-04-16 Thread Charles Myers
Guys, I have searched google etc but failed to find an answer to this (im pretty sure though I have seen somewhere that it can be done...) I have a heap of photos (sorted by iPhoto) and it does it in multiple directories of year, month,date etc. I have moved the whole photo tree over to my de