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?