rsync problem
Michael
bmike1 at gmail.com
Mon May 9 19:16:47 MST 2016
oops wrong copy:
$ rsync -aWuq --delete-before /home/bmike1/Documents /media/bmike1/Re
dSanDisk/
rsync: failed to set times on "/media/bmike1/RedSanDisk/Documents":
Read-only file system (30)
rsync: failed to set permissions on
"/media/bmike1/RedSanDisk/Documents/signature.jpg": Read-only file system
(30)
rsync: failed to set permissions on
"/media/bmike1/RedSanDisk/Documents/Business/i9Complete-pg1.jpeg":
Read-only file system (30)
rsync: failed to set permissions on
"/media/bmike1/RedSanDisk/Documents/Business/i9Complete-pg2.jpeg":
Read-only file system (30)
rsync: failed to set permissions on
"/media/bmike1/RedSanDisk/Documents/Business/Advantage": Read-only file
system (30)
etc...
and the same thing happened whhen I added the slash to the source:
$ rsync -aWuq --delete-before /home/bmike1/Documents/ /media/bmike1/R
edSanDisk/
rsync: delete_file: unlink(Documents/moveinphotos/DSC00971.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00970.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00969.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00968.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00967.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00966.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00965.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00964.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00963.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00962.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00961.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00958.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00957.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00956.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00955.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00954.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00953.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00952.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00951.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00950.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00949.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00948.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00947.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00946.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00945.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00944.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00943.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00942.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00941.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00940.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00939.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00938.JPG) failed:
Read-only file system (30)
rsync: delete_file: unlink(Documents/moveinphotos/DSC00937.JPG) failed:
Read-only file system (30)
rsync: delete_file: rmdir(Documents/moveinphotos) failed: Read-only file
system (30)
rsync: delete_file: unlink(Documents/language.training/QueOndaSpanish/
www.queondaspanish.com/word/458176/corte_suprema_de_justicia) failed:
Read-only file system (30)
rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/
www.queondaspanish.com/word/458176) failed: Read-only file system (30)
rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/
www.queondaspanish.com/word/458175) failed: Read-only file system (30)
rsync: delete_file: unlink(Documents/language.training/QueOndaSpanish/
www.queondaspanish.com/word/458174/las) failed: Read-only file system (30)
rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/
www.queondaspanish.com/word/458174) failed: Read-only file system (30)
rsync: delete_file: unlink(Documents/language.training/QueOndaSpanish/
www.queondaspanish.com/word/458173/los) failed: Read-only file system (30)
rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/
www.queondaspanish.com/word/458173) failed: Read-only file system (30)
etc....
On Mon, May 9, 2016 at 10: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~(-:
>
--
:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20160509/3974eb5c/attachment.html>
More information about the PLUG-discuss
mailing list