NOTE: when using RSYNC to syncronize files in a directory, the SOURCE path must end with a "/". The remote DESTINATION path does not require the slash, and it won't impact placement if included. If you are going to place this command in a script or in the background you should redirect stdout and stderr. --> more sync-host.sh # used if you are going to watch the monitor #!/bin/bash rsync -rp --delete --progress /home/luser/files/linux/ remoteluser@distantserver:/home/remoteluser/files/linux rsync -rp --delete --progress /home/luser/files/bible/ remoteluser@distantserver:/home/remoteluser/files/bible rsync -rp --delete --progress /home/luser/files/jeep/ remoteluser@distantserver:/home/remoteluser/files/jeep rsync -rp --delete --progress /home/luser/files/tech/ remoteluser@distantserver:/home/remoteluser/files/tech rsync -rp --delete --progress /home/luser/files/fotomeister/ remoteluser@distantserver:/home/remoteluser/files/fotomeister --> more sync-quiet-host.sh # used if you are going to use cron and not redirect output #!/bin/bash rsync -rp --delete /home/luser/files/linux/ remoteluser@distantserver:/home/remoteluser/files/linux rsync -rp --delete /home/luser/files/bible/ remoteluser@distantserver:/home/remoteluser/files/bible rsync -rp --delete /home/luser/files/jeep/ remoteluser@distantserver:/home/remoteluser/files/jeep rsync -rp --delete /home/luser/files/tech/ remoteluser@distantserver:/home/remoteluser/files/tech rsync -rp --delete /home/luser/files/fotos/ remoteluser@distantserver:/home/remoteluser/files/fotos |
Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview Intro to Linux |
http://shop.oreilly.com/product/0636920050209.do Study Guide for LPIC-2 Certification Exams |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |