Re: What is syntax to copy only new files?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: mike havens
Date:  
To: Main PLUG discussion list
Subject: Re: What is syntax to copy only new files?
man... you guys are so knowledgable!

On Thu, Sep 10, 2009 at 2:21 PM, James Mcphee <> wrote:

> rsync is built for stuff like this. I use the following in one of my sync
> routines. Your flag may vary:
>
> rsync -avvz /path/to/source /path/to/dest
>
>
> On Thu, Sep 10, 2009 at 2:17 PM, Josef Lowder <> wrote:
>
>> What is the syntax to copy only new files from a CD backup to a hard disk?
>>
>> I make backups of my files onto CDs and copy them onto another computer
>> to maintain redunancy. Probably there is a better way to do this (sync,
>> etc.)
>> so I would also appreciate knowing what is a better way to do this.
>>
>> What I have been using is this:
>>
>> cp -rp /mnt/cdrom/foldername /home/joe/foldername <E>
>>
>> That works, but I don't want to re-write files that are unchanged,
>> and I don't want to write over any files that are newer on the
>> destination system. How should this syntax be changed?
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss<http://lists.plug.phoenix.az.us/mailman/listinfo/plug-discuss>
>>
>
>
>
> --
> James McPhee
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss<http://lists.plug.phoenix.az.us/mailman/listinfo/plug-discuss>
>




--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss