NAME

size-dir-diff - find differences between two directories

VERSION

version 0.4.1

DESCRIPTION

A script that finds differences between two directories.

Two directories are compared taking the size of each file. Files in the second argument are treated as a subset of the first. Prompts user if differing files should be deleted.

To speed up comparisons, size-dir-diff will always try to store a copy of the first hash (PATH1) in /tmp/first_hash. Keep this in mind since a subsequent call will read /tmp/first_hash into memory. This requires that /tmp/first_hash must first be deleted, before comparing a new PATH1.

SYNOPSIS

$ size_dir_diff -d /usr/src/BPi/device-tree /usr/src/BPi/device-tree.copy
Files in /usr/src/BPi/device-tree.copy that differ from files in /usr/src/BPi/device-tree:
Files in /usr/src/BPi/device-tree.copy that have a duplicate in /usr/src/BPi/device-tree:
/sun7i-a20-bananapi.dtb

AUTHOR

Jonas Jensen

LICENSE

GPL_2

INSTALLATION

Using cpan:

$ cpan App::size::dir::diff

Manual install:

$ perl Makefile.PL
$ make
$ make install