Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~# find /data/xyz -print0 | xargs -0 -I {} stat -c '%Y %n' '{}' | sort -k2 >before.txt
- ~# find /data/xyz -print0 | xargs -0 -I {} stat -c '%Y %n' '{}' | sort -k2 >after.txt
- ~$ diff before.txt after.txt
- ~# find /data/xyz -type f -print0 | xargs -0 -I {} md5sum '{}' >checksums
- ~# md5sum -c --quiet checksums
- ~# inotifyd - /data/xyz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement