Skip to content

Instantly share code, notes, and snippets.

@jjungnickel
Created April 21, 2010 13:51
Show Gist options
  • Save jjungnickel/373827 to your computer and use it in GitHub Desktop.
Save jjungnickel/373827 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 <username>";
exit 1;
fi
rsync -avz --delete quimby.displayboy.com:/home/${1}/.maildir /home/CARMUNITY/${1}/
chown -R ${1}:domänen-benutzer /home/CARMUNITY/${1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment