I need to rsync several, but not all, the Maildir directories under /home.
I have a file with all the user accounts, so what would the script be to 
say take each user account name and then rsync up each Maildir directory.

The rsync command would be:

rsync -arv ./[username]/Maildir/ root@[computer]:/home/[username]/Maildir/

I have already gone through each user's directory and manually done each 
one over the course of the week. Now I want to be able to sink up using a 
single command.

Thanks for any help!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mb36ct$7g7$1...@ger.gmane.org

Reply via email to