rsnapshot-diff - Output only if directories are not identical
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:
Is it possible to "suppress" an output here? |
Send it to /dev/null.
|
All times are GMT -5. The time now is 10:06 PM. |