in reply to Comparing an array against another array
Personally I wouldn't use Perl for this task unless it was something I knew I'd need to repeat over and over again. For a one-off comparison, I'd just use:
find -type f | sort > file-list.txt
... on each host to generate a lexically sorted list of files, and then compare the two lists using diff.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Comparing an array against another array
by choroba (Cardinal) on Jan 17, 2012 at 17:30 UTC | |
by ansh batra (Friar) on Jan 17, 2012 at 17:42 UTC | |
by tobyink (Canon) on Jan 17, 2012 at 17:46 UTC | |
by ansh batra (Friar) on Jan 17, 2012 at 17:48 UTC | |
by jaldama (Acolyte) on Jan 17, 2012 at 19:06 UTC | |
by CountZero (Bishop) on Jan 18, 2012 at 07:16 UTC | |
by jaldama (Acolyte) on Jan 18, 2012 at 14:25 UTC |