Re: rsync problem

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael
Date:  
To: Main PLUG discussion list
Subject: Re: rsync problem
it has worked without the trailing slash until now.
everything has worked perfectly until today (well over ayear with rsync run
at least once a month.

On Mon, May 9, 2016 at 9:09 PM, Sesso <> wrote:

> If you don't use a trailing /, it will copy a whole directory. As Brian
> also said. A / at the end of the destination also if you want the files IN
> that directory.
>
> I use rsync -avzpor quite frequently for migrations. Final syncs will get
> --delete so it has an exact copy.
>
> Jason
>
> Sent from my iPhone
>
> On May 9, 2016, at 6:01 PM, Brian Cluff <> wrote:
>
> ls -h doesn't show hidden files, it shows the files sizes in "h"uman
> readable format.
>
> Do an ls -a to show "a"ll the files, including the hidden ones.
>
> Also I think you might need to add a trailing / to your destination
> directory to get it to work correctly.
>
> Brian
>
> On 05/09/2016 04:49 PM, Michael wrote:
>
> forgot to mention that when I'm copying from original to destination w/o
> rsync i am asked if I want to skip or replace an existing file even though
> the file is not visible. I attempted to do an ls -h but the file is not
> hidden.
>
> On Mon, May 9, 2016 at 7:04 PM, Michael <> 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>
>> https://docs.google.com/document/d/1FAfv-aLaQR6HWUx8M-aZF4QL8oAsi6SH2Xg01vKpTPI/edit?usp=sharing
>>
>> --
>> :-)~MIKE~(-:
>>
>
>
>
> --
> :-)~MIKE~(-:
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




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