How to diff directories over ssh

前端 未结 4 1044
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-22 22:39

I am trying to recursively compare a directory in the local host to a directory in a remote linux machine. However, when i execute the next command:

diff -r          


        
4条回答
  •  北荒
    北荒 (楼主)
    2020-12-22 23:06

    Try using "rsync" with the "-n" option, which just does a "dry run" and tells you what it would do.

提交回复
热议问题