3d453529158bb97f60b453a75b1a7c5ace0fb3d9
programming/nubbins.md
| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | # nubbins |
| 2 | 2 | |
| 3 | -* compare contents of two directories |
|
| 3 | +### compare contents of two directories |
|
| 4 | 4 | ``` |
| 5 | 5 | for f in $(find dir1/ -type f | awk -F/ '{print $NF}') ; do |
| 6 | 6 | find dir2/ -type f -name "$f" -exec echo {} is in both \; |