I have a rsync command that does this:
rsync -a path postgres@12.19.232.116:/home/postgres/data/wals < /dev/null
I want to also redirect the output of this command to a file (ie > output.log), while preserving < /dev/null. How do I do so?
I have a rsync command that does this:
rsync -a path postgres@12.19.232.116:/home/postgres/data/wals < /dev/null
I want to also redirect the output of this command to a file (ie > output.log), while preserving < /dev/null. How do I do so?