|  |  | |
|  |  | 
| 
 | |||||||
| Programmierung Rat & Tat für Programmierer | 
|  | Themen-Optionen | Ansicht | 
|  01.05.2008, 13:30 | #1 | 
| Elite  |  rsync prob hello, FTPADM_EX="--exclude 'ftp-log/*' --exclude 'not_delivered/**/*' --exclude 'bin/*.ftp' --exclude 'bin/*.ack'" # REMOTE HOST ####################################### REMOTEHOST="bla" IDRSA="/etc/ssh/id_rsa-rsnc-6" ################################################## #### # Only Root should do this!!!! if (( `$ID -u` != 0 )); then { $ECHOBIN "Sorry, must be root. Exiting..."; exit; } fi ################################################## #### if [ -d /etc/proftpd ]; then $RSYNCBIN "ssh -p 922 -i $IDRSA" --update --delete $REMOTEHOST:$FTPADM $FTPADM --include '*/' $FTPADM_EX ..... so weit so gut Mein Problem ist , sobald ich die excludes in eine Variable geb und nicht direkt mit --exclude bla anhänge, werden die excludierten files trotzdem übertragen(.ack, .ftp) was is der unterschied ?? knopf im kopf.. ciao CM²S  
				____________________________________ \"wann amoi de blaun denen grean an rodn dewich ausroin, daunn siach i schwoaz\" Gedicht aus \"Eigfleischte Wegetaria und aundare meakwürdikeiten, Andreas Nastl http://lichtschwarz.tv | 
|   |   | 
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
| 
 | 
 |