rsync problem
Bob Elzer
bob.elzer at gmail.com
Mon May 9 19:04:44 MST 2016
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20160509/d7ff58d2/attachment.html>
More information about the PLUG-discuss
mailing list