selecting some kind of files using the resync command

Angelo Moreschini mrangelo.fedora at gmail.com
Wed Oct 22 09:48:05 UTC 2014


I would like ALSO to know how to start AUTOMATICALLY,  at the boot,  this
command (after that it is inside a shell script)

On Wed, Oct 22, 2014 at 12:41 PM, Angelo Moreschini <
mrangelo.fedora at gmail.com> wrote:

> Hi,
>
> I am able to backup files with this command:
>  rsync -av --delete /home/programmers/Labels /media/saved_labels
>
> but *I am not able to select some kind of files doing the backup*
>
> I tried in many different way:
>
>  rsync -av --delete /home/programmers/Labels/*.java /media/saved_lab
>  rsync -avr --delete /home/programmers/Labels/*.java /media/saved_lab
>
> The message that I get is :
>
>
>
>
>
>
> *sending incremental file listrsync: link_stat
> "/home/programmers/java/PROJECTS_development/Labels/*.java" failed: No such
> file or directory (2)sent 18 bytes  received 12 bytes  60.00 bytes/sectotal
> size is 0  speedup is 0.00rsync error: some files/attrs were not
> transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.0]*
>
>
> ===========
>
> I would like to know how to start this command (after it is inside a shell
> script) at the boot.
>
> Thank you very much
>
> Regards
>
> Angelo
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20141022/206851bd/attachment.html>


More information about the users mailing list