------------------------------------------------------------------------ *From:* Robin Lee Powell [mailto:rlpow...@digitalkingdom.org] *Subject:* copy to destination only new files *Date:* Saturday, June 24, 2023 at 1:14 AM *To:* . *Cc:* rsync@lists.samba.org
That's how rsync operates normally; you shouldn't have to do anything to get that behaviour. That's kind of the whole thing it's for. If you're *not* seeing that behaviour, something weird is going on. Possibly one side or the other is recording timestamps incorrectly. On Fri, Jun 23, 2023 at 12:57:02PM -0400, . via rsync wrote:I'm using rsync to copy files from a source folder to a destination folder. It works fine. But, to save some time, what options should I use to only update or copy (to the destination) files that are new and/or have a new time stamp on them? Here's the code I use below (pretty sure the -n means dry-run) rsync -r -n -t -v --progress -s '/Desktop/Book' '/media/Chip/Book June' Thanks, Peter-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options:https://lists.samba.org/mailman/listinfo/rsync Before posting, read:http://www.catb.org/~esr/faqs/smart-questions.html
OpenPGP_0x19B6B68457884FFB.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html