That is exactly what I needed, John. That webpage was also an excellent reference. Between that and the man page i was able to customize it to my server backup needs.
Thanks again
JO
John Beimler wrote:
JoJo Almario wrote:
Im bad at putting out scripts with anything other than simple commands. What I was looking for was a script in bash or perl that would allow me to rsync a folder...lets say /home/users to a space /backup/users while excluding any files with the extension " *.bkf" It sounds like it would be simple but I havent been diligent in learning my programming or scripting.not really a script, but here:
rsync -av --delete --exclude '*.bkf' /home/users /backup/users
you may want to look at the snapshot article and scripts at http://www.mikerubel.org/computers/rsync_snapshots/
Peace.
john
_______________________________________________ TriLUG mailing list http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ: http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
--
JoJo Almario Network Administrator Intrah /UNC School of Medicine Office - 919-843-5145 Fax - 919-966-6816 [EMAIL PROTECTED]
_______________________________________________ TriLUG mailing list http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ: http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
