Hello Harry,
hpdb cp'ing ./dir1/2765 => ./tmp/001 Failed to copy ./dir1/2765 => ./tmp/001: No such file or directory at ./renum2.pl line 111
I didn't want to read the entire script (a triffle busy ;p) but perhaps File::Copy::Recursive (IE dircopy()) will help.
Then if the file names need to change, simply recurse the new directory and rename() as needed.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>