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.

-- 
Peter Miller <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to