gibney.org
:
Technology
:
Linux
:
Compare directories over SSH
search:
See as:
raw
|
code
terms of service
|
imprint
gibney.org
is powered by
m1d1
Compare directories over SSH
(Entry Nr. 438, by user 1 |
edit
)
Inspect the content of all files of a local and a remote dir and report which are different, new or deleted:
rsync -navc --delete /local/dir/ user@host:/remote/dir/ | grep -v /$
Create a new entry at this position