On Wed, Aug 11, 2004 at 08:45:16PM +1000, Peter Miller wrote: > On Wed, 2004-08-11 at 20:15, [EMAIL PROTECTED] wrote: > > >>"find > > You have to make sure you move the directory AFTER you move file files > within it... the -depth option. > > You also have to ensure that you only apply the tr command to the LAST > filename component, not the whole path. > > All this, AND coping with spaces in filenames, is a pain in a shell > script. Try perl. Or do what I did, and write just a few lines of C... > hint: ftw(3). Sorry, I tossed it, it was so small.
or a thought why not a recursive find command ! > > -- > Peter Miller <[EMAIL PROTECTED]> > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
signature.asc
Description: Digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
