Bash script: recursive diff between remote hosts
This script will generate a recursive, unified diff between the same path on two remote servers. You set the CONNECT1 and CONNECT2 variables as necessary to point to your hosts/paths. Of course, the users you connect as must have read access to the files/directories you’re accessing. #!/bin/bash # USAGE: ./sshdiff DIRECTORY # # E.g. ./sshdiff
[...read the post]
mrclay.
rg
song for a future generation