Re: Moving Files (Again)

2003-01-08 Thread Kevin D. Clark
Bob Bell <[EMAIL PROTECTED]> writes: > I forget if you are one of the ones who considers spaces "stange > characters", but that general method breaks with filenames with spaces. > I general find that instead of: > > for foo in `find blah`; do > # do stuff > done > > the following is typic

Re: Moving Files (Again)

2003-01-07 Thread Kenneth E. Lussier
On Tue, 2003-01-07 at 12:25, Bob Bell wrote: > I was referring to Kevin, and the opinion expressed by what seemed > like many list members that spaces have no place in filenames (there are > EVIL, if I recall correctly). I don't know that it's that spaces are considered *EVIL*, of and by thems

Re: Moving Files (Again)

2003-01-07 Thread Bob Bell
On Tue, Jan 07, 2003 at 11:40:34AM -0500, Travis Roy <[EMAIL PROTECTED]> wrote: > When did I say that spaces were strange? Or were you talking to somebody > else.. Anyway, none of the files that I am moving have spaces, or the > directories. I was referring to Kevin, and the opinion expressed

Re: Moving Files (Again)

2003-01-07 Thread Travis Roy
> I forget if you are one of the ones who considers spaces "stange > characters", but that general method breaks with filenames with spaces. > I general find that instead of: When did I say that spaces were strange? Or were you talking to somebody else.. Anyway, none of the files that I am mov

Re: Moving Files (Again)

2003-01-07 Thread Bob Bell
On Tue, Jan 07, 2003 at 10:19:09AM -0500, Kevin D. Clark <[EMAIL PROTECTED]> wrote: > Assuming that none of the filenames contain embedded newlines or other > strange characters: > > for A in `find ~/mamedk/roms2.mame.dk -name \*.zip -print | grep >'cur/[^/]*\.zip$'` ; do > cp "$A" ~/mamed

Re: Moving Files (Again)

2003-01-07 Thread Kevin D. Clark
"Travis Roy" <[EMAIL PROTECTED]> writes: > I just need something that will go thru all those random directors and > grab /cur/*.zip and shove them into say /home/travis/mamedk/roms Assuming that none of the filenames contain embedded newlines or other strange characters: for A in `find ~/mame

Moving Files (Again)

2003-01-07 Thread Travis Roy
Okay, so I'm mirroring Mame.dk for the roms to shove into my mame box (http://scootz.net/~travis/gallery/arcadecab) Now, it uses some php script or something to randomize stuff to basically make it a pain in the ass.. Here's an example: [travis@scootz cur]$ ls stellcas.zip [travis@scootz cur]$ pw