Rsync File listing

Travis Quarterman travisq at gmail.com
Fri May 11 15:22:28 GMT 2007


Can someone assist me in using rsync to ssh into a remote server to obtain
the file listing? As it appears I have some files on a remote server that I
need to pull, however there are many files in the remote server directory,
to why I am wanting to only pull a certain (-mtime -1).

Here is what I have so far:
/usr/local/bin/rsync -e ssh -avz --delete --rsync-path=/usr/local/bin/rsync
--files-from=- /some/dir remoteuser at martins:/home/remoteuser | find
server*/adhoc/remotedir* -mtime -1 -print  /local/dir/

If there is a more efficient way on doing this I am open for suggestions.

Thanks!
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list