rsync problem

Sesso sesso at djsesso.com
Mon May 9 19:15:15 MST 2016


Try using just --delete instead of --delete-before

Sent from my iPhone

> On May 9, 2016, at 7:09 PM, Michael <bmike1 at gmail.com> wrote:
> 
> well, I just ran it with the trailing slash and it gave me the same output as before except it happened immediately. The USB drive wasn't accessd for five minutes.
> 
>> On Mon, May 9, 2016 at 10:04 PM, Bob Elzer <bob.elzer at gmail.com> wrote:
>> My syncs look like this
>> 
>> Rsync -rauh  --delete  /frompath/fromdir   /topath/todir
>> 
>> This copies the fromdir into the todir directory and copies all files and directories below fromdir
>> 
>> -r   recursive
>> -a  archive - which is synonymous to -rlptgoD
>> -u  update :don't over write newer files
>> -W  copy whole files (don't do delta)
>> -h  human readable numbers
>> 
>> This backs up my stuff to an external drive, thus I don't need to do a delta or compression because it is all local
>> --delete  Any files that were removed from the source will be removed from the destination
>> 
>> If I were copying across a network, I add -z  and remove -W
>> Which will compress the transfer and only send changes when possible.
>> 
>> Normally I use --quiet and change it to --verbose or --progress when I want to monitor it
>> 
>>> On May 9, 2016 4:05 PM, "Michael" <bmike1 at gmail.com> wrote:
>>> When I run rsync one file (a directory) will not sync and the files in that file. I was wondering why.  I thought that maybe if the file was in there to start that would fix it and it does so if only temporarily. Upon the next run of rsync the directory in question is deleted.
>>> the command that is run:
>>>  $ rsync -aWuq --delete-before /home/bmike1/Documents /media/bmike1/RedSanDisk
>>> 
>>> 
>>> https://docs.google.com/document/d/1FAfv-aLaQR6HWUx8M-aZF4QL8oAsi6SH2Xg01vKpTPI/edit?usp=sharing
>>> 
>>> -- 
>>> :-)~MIKE~(-:
>>> 
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> 
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 
> 
> 
> -- 
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20160509/b76b4451/attachment.html>


More information about the PLUG-discuss mailing list