Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. ~# find /data/xyz -print0 | xargs -0 -I {} stat -c '%Y %n' '{}' | sort -k2 >before.txt
  2.  
  3. ~# find /data/xyz -print0 | xargs -0 -I {} stat -c '%Y %n' '{}' | sort -k2 >after.txt
  4.  
  5. ~$ diff before.txt after.txt
  6.  
  7. ~# find /data/xyz -type f -print0 | xargs -0 -I {} md5sum '{}' >checksums
  8.  
  9. ~# md5sum -c --quiet checksums
  10.  
  11. ~# inotifyd - /data/xyz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement