John Evoy
2001-Dec-17 05:34 UTC
Is it possible to copy only files not existing in the destination?
Hi all rsync gurus Is it possible to copy only files that do not exist in the destination but NOT to update existing files even if their date is older than source files' date. The background of the question is that we have an environment (Lotus Domino) that makes it difficult to create new files but after they are created they are easy to keep in sync. J _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
tim.conway@philips.com
2001-Dec-18 02:10 UTC
Is it possible to copy only files not existing in the destination?
cd destdir find . -type f -print >/tmp/excludelist rsync -a --exclude-from=/tmp/excludelist srcserver:/srcdir/ . Tim Conway tim.conway@philips.com 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, n9hmg on AIM perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me.... Tim?" "John Evoy" <jevoy@hotmail.com> Sent by: rsync-admin@lists.samba.org 12/16/2001 11:34 AM To: rsync@lists.samba.org cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject: Is it possible to copy only files not existing in the destination? Classification: Hi all rsync gurus Is it possible to copy only files that do not exist in the destination but NOT to update existing files even if their date is older than source files' date. The background of the question is that we have an environment (Lotus Domino) that makes it difficult to create new files but after they are created they are easy to keep in sync. J _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx