nubbins
- compare contents of two directories
for f in $(find dir1/ -type f | awk -F/ '{print $NF}') ; do find dir2/ -type f -name "$f" -exec echo {} is in both \; done
for f in $(find dir1/ -type f | awk -F/ '{print $NF}') ; do
find dir2/ -type f -name "$f" -exec echo {} is in both \;
done
This version of the page was edited by pyratebeard at . View the most recent version.