Skip to content

Command line tool for recursive directory comparison.

License

Notifications You must be signed in to change notification settings

aminzer/dir-diff-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Command line tool for recursive directory comparison.

Installation

npm install -g @aminzer/dir-diff-cli

Compare directories

dir-diff compare --source "d:/work" --target "e:/backups/work"
Arguments
  • --source (-s) - path to the source directory
  • --target (-t) - path to the target directory
  • --skip-source-only (-S) - source-only files/directories are not considered
  • --skip-target-only (-T) - target-only files/directories are not considered
  • --skip-different (-D) - different files are not considered
  • --skip-content-comparison (-C) - content comparison is skipped, files are compared by size only
  • --skip-excess-nested-iterations (-X) - children of source-only and target-only directories are not considered
  • --log-csv - directory difference is logged into csv file

Show help message

dir-diff help

Show version

dir-diff version