aminzer / dir-diff-cli

Command line tool for recursive directory comparison.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Command line tool for recursive directory comparison.

License:MIT License


Languages

Language:TypeScript 93.9%Language:JavaScript 5.8%Language:Shell 0.3%