copy to destination only new files
.
SE at SHCH262.com
Sat Jun 24 10:40:40 UTC 2023
You're probably right. I've spent too much time on this and it's not
working so.....I quit.
------------------------------------------------------------------------
*From:* Robin Lee Powell [mailto:rlpowell at digitalkingdom.org]
*Subject:* copy to destination only new files
*Date:* Saturday, June 24, 2023 at 1:14 AM
*To:* .
*Cc:* rsync at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20230624/f658fcc5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x19B6B68457884FFB.asc
Type: application/pgp-keys
Size: 2436 bytes
Desc: OpenPGP public key
URL: <http://lists.samba.org/pipermail/rsync/attachments/20230624/f658fcc5/OpenPGP_0x19B6B68457884FFB.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/rsync/attachments/20230624/f658fcc5/OpenPGP_signature.sig>
More information about the rsync
mailing list