[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rsync question



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!


Reply to: