On Wed, 22 Oct 2014, Angelo Moreschini 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 list
rsync: 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/sec
total size is 0 speedup is 0.00
rsync 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
I have not checked to see if it works, but this post seems to address
your question:
jmuras.com/blog/2011/transfer-only-selected-file-types-with-rsync/
billo
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org