Linux command: md5sum

From RHS Wiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Check diferences between files in two directories[edit]

tree -L 1
.
├── 3.0
└──3.1
find . -type f -exec md5sum {} \; | sed 's/\.[01]//g'| sort | grep -v .php$ | uniq -c | sort -nr

the lines that start with 1 are the files changed