|
Hi,structure
I have a parent directory in the IFS that has several hundred
sub-directories below it. I want to copy all the sub-directories to a
different parent directory.
For example, let's say the original parent dir is: /PARENT and the new
target parent directory is named /STEPPARENT
I want all the sub directories, and the files within them, to reside in
/STEPPARENT so that /STEPPARENT will have the exact same directory
and contents as /PARENT.directory
I can write a program to recurse through /PARENT and recreate the
structure and files in /STEPPARENT (in fact, I did that first), but I want/PARENT
to know if there is a QSH command that will allow me to do it all in a
single CPY. My RPG program that does this takes a really long time to do
the recursion and the recreation of the files so I'm hoping a QSHELL Copy
command would work faster.
If this was WINDOWS, I could go into Explorer and copy the files in
and paste them to /STEPPARENT and I'd be done. I know I can map a driveto
do the same from the IFS, but my connection to this system is somewhatfor
spotty and I can't trust that the connection would stay up long enough to
finish copying all the files if I was to try it via a mapped drive.
So.I was hoping I could just submit a QSHELL command to batch to do this
me.list
Thanks,
Shannon O'Donnell
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.