Article 4VCZ6 rsnapshot-diff - Output only if directories are not identical

rsnapshot-diff - Output only if directories are not identical

by
undefineduser
from LinuxQuestions.org on (#4VCZ6)
Hey,

i use rsnapshot to create an exact match of a directory and want to check this afterwards with rsnapshot-diff if it was successful. I wrote a bash script to check if a file is empty (no output from rsnapshot-diff, so successful) or not (then there are instructions to contact me).

If I check two identical directories with rsnapshot-diff, I get the following output:

Quote:
Comparing /example to /tmp/example2/
Between /example and /tmp/example2:
44 were added, taking 81511131 bytes
44 were removed, saving 81511131 bytes

Is it possible to "suppress" an output here?latest?d=yIl2AUoC8zA latest?i=1jok1OH2BUQ:0zl2Q2jPkpA:F7zBnMy latest?i=1jok1OH2BUQ:0zl2Q2jPkpA:V_sGLiP latest?d=qj6IDK7rITs latest?i=1jok1OH2BUQ:0zl2Q2jPkpA:gIN9vFw1jok1OH2BUQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments