How to check that all files from STDOUT are present on remote host? (via SSH)
Posted
by Kirzilla
on Stack Overflow
See other posts from Stack Overflow
or by Kirzilla
Published on 2010-04-12T11:11:41Z
Indexed on
2010/04/12
11:13 UTC
Read the original article
Hit count: 111
shell
Hello,
Let's imagine that I have list of files at host1
find /path/to -name "*.jpg" -print
I want to connect to host2 via SSH and check that all files from this list are present on remote host.
Please help, how can I do this?
Thank you
© Stack Overflow or respective owner