Revision: 27612
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 17, 2010 17:34 by alejandrosuch
Initial Code
#! /bin/bash
#
# cmpdir - [email protected], 2007, GPLv2
#
# cmpdir <dir1> <dir2>
[ -z "$2" ] && { echo “Usage: $SELF <dir1> <dir2>â€; exit 0; }
SRC=â€$1″
DST=â€$2″
(cd “$SRCâ€;find -type f)|while read i;do cmp “$SRC/$i†“$DST/$iâ€; done
Initial URL
http://troxa.com/comparacion-recursiva-de-directorios-en-linux.html
Initial Description
Initial Title
Recursive dir comparison
Initial Tags
Initial Language
Bash