Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

23 lines (20 loc) · 1.02 KB

diffdir

Shell Script for comparing 2 folders. Supports Posix/NFSv4 ACL and Extended Attribute Comparison.

Tested on BSD only at the moment.

Usage: diffdir.sh folder1 folder2 ${options}

Command Line Options:

-s, --stats           Show Results/Stats at the End of the Run
-c, --checksum        Compare files via checksum (files only)
--diff                Show diff output. If Checksum and diff are used both, only the stats for diff will be shown (different checksum = diff in Content)
--acls                Compare ACLs
--missing             Missing Files
--extattr             Compare extended Attributes
-l, --link            Compare Link Targets via readlink
-o, --owner           Compare Owner permissions
-m, --mode            Compare Filemodes
-t, --time            Compare Timestamps
-a, --all             All the Options above combined (default)        
-h, --help            Show this help section
-d, --debug           Enable Debugging
-v                    Verbose