Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Script to compare 2 folders, including sub folders and files with content

by duelafn (Parson)
on Jul 02, 2016 at 14:14 UTC ( [id://1167041]=note: print w/replies, xml ) Need Help??


in reply to Re: Script to compare 2 folders, including sub folders and files with content
in thread Script to compare 2 folders, including sub folders and files with content

-qrs would be better since OP is only listing files, not the actual diff:

$ diff -qrs /tmp/A /tmp/B Only in /tmp/A: Math.aux Files /tmp/A/Math.log and /tmp/B/Math.log differ Files /tmp/A/Math.pdf and /tmp/B/Math.pdf differ Files /tmp/A/Math.tex and /tmp/B/Math.tex differ Files /tmp/A/MathLogo.jpg and /tmp/B/MathLogo.jpg are identical

Update: Oh oops, looks like haukex already said this... I missed it behind the part of their post that actually answered the original question :). Think of this post as highlighting the alternate solution.

Good Day,
    Dean

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1167041]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2026-03-16 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.