Else, ls -alR on both dirs.
Then, create a blank project in PyCharm/IntelliJ and navigate to the dir 
containing these 2 listings.
Select both and then choose diff/compare.
Believe me, git style diff-ing is super neat and convenient, compared to the 
standard diff we use on zOS.

-KB

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Wednesday, September 29th, 2021 at 9:33 AM, Paul Gilmartin 
<0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Tue, 28 Sep 2021 21:22:29 -0500, Bruce Hewson wrote:
>
> > 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.
>
> Symlinks are a problem for diff because diff doesn't distinguish a symlink
>
> from the file it references. You might isolate the symlinks with:
>
> find . -type l -exec ls -l {} \; |
>
> sed -E 's/( [^ ]){8}//' >TheLinks
>
> ... in each filesystem and compare the generated listings of links.
>
> What's your objective:
>
> o Merely to verify that the filesystems are identical?
>
> o To resolve any differences?
>
> Also try: mailto:lists...@vm.marist.edu?subject=INFO - Thx! &body=INFO MVS-OE 
> Thanks
>
> -- gil
>
> ---------
>
> 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