I have to regularly move an entire source code tree back and forth between
Linux and NT. When I move the tree of code I need to maintain the
directory structure, convert carriage returns appropriately for the
destination platform, and not change the date/time of last modification.
Maintaining the last modified date/time seems to rule out using ncftp.
Unless someone can suggest a better approach, I've decided to use gzip to
zip the entire source code tree and unzip the entire tree. Now I just need
to recursively process the files in the directory tree by converting
carriage returns and maintaining the last modified date/time.
I'll have to be able to do this on both NT and Linux, so it seems like a
Perl script would work well for recursively processing each file in the tree.
Does anyone have a script that already does recursive file processing that
I could use as a starting point? I haven't done any Perl programming up
till now, so I'd really appreciate the assistance.
Oh, I'm open to other alternatives, too, if anyone would care to make a
suggestion.
Thanks,
Al Margheim
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.