Here is my current rsync shell script
SOURCEDIR=/Users/thomas/sites/dreamhost/ DESTDIRemail@example.com:/home/thomasreggi/sites/ ##rsync -avzL --delete --include '*/' --include-from=list.txt --exclude '*' $DESTDIR $SOURCEDIR SOURCEDIR=/Users/thomas/sites/dreamhost/ DESTDIRfirstname.lastname@example.org:/home/thomasreggi/sites/ rsync -avzL --delete --exclude=".DS_Store" --exclude-from=list.txt $SOURCEDIR $DESTDIR
reggi.com/assets/dailybooth/img/original/ reggi.com/assets/dailybooth/img/spritesheets/ reggi.com/assets/dailybooth/sprite.css reggi.com/assets/thumb/cache/ reggi.com/wordpress/wp-content/plugins/ reggi.com/wordpress/wp-content/uploads/
What I am trying to accomplish here is a rsync download of the list directories then an upload of everything except the list directories. The second script works and avoids the list files but the first doesn't do what I want completely. I've gotten it to work if I append ** to the end of the directories but I'm not sure this works for the second script. I am looking for the optimal way of doing this.