This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compare a local and remote file using diff and process substitution | |
diff README.txt <(ssh SOMEREMOTEHOST cat /home/paul/somedir/README.txt) |
rsync -ilvrn <localdir> <remotedir>
) and then use the above diff command to compare them.
grt
ReplyDelete