/* Rexx HFSDIRC */                         
parse arg dir1 dir2 junk                   
dir1  = strip(dir1)                        
dir2  = strip(dir2)                        
if dir1 = "" or dir2 = "" then do          
   say "Two directories must be specified" 
   exit 4                                  
end                                        
"oshell du "dir1" > /tmp/lsdir1"           
"oshell du "dir2" > /tmp/lsdir2"           
"oget '/tmp/lsdir1' 'userid.DIR1'"         
"oget '/tmp/lsdir2' 'userid.DIR2'" 

> On Sep 28, 2021, at 22:22, Bruce Hewson <bruce_hew...@hotmail.com> wrote:
> 
> Hello all,
> 
> an OMVS question.
> 
> We are looking for a way to compare 2 filesystem structures, starting at root 
> '/'.
> 
> Differences we want to identify:-
> 
> 1.  directory
> 2. file
> 3. symlink
> 
> It is the last we are having trouble working out how to go about it.
> 
> Hoping someone has done this before.
> 
> Regards
> Bruce Hewson
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to