Displaying 1 result from an estimated 1 matches for "sourceimap".
2009 Jan 31
3
Script: Moving Maildirs between servers
...echo "Copying user "$username"..."
echo "From "$SOURCEDIR" to "$DESTDIR":"
# IMAP Folder loop:
# Will create the Maildir folder too, the first echo $SOURCEDIR"/." does that. This way all the copying is in one place only.
for sourceimap in `{ echo $SOURCEDIR"/." ; find $SOURCEDIR -type d -name \.\* -maxdepth 1 -print ; } | sort -f`; do
{
# Folder exlusion and special actions:
# .Draft is replaced by .Drafts, so content of .Draft must be copied to .Drafts.
# (Probably there were a client in use for a whi...