Displaying 1 result from an estimated 1 matches for "destimap".
Did you mean:
testimap
2009 Jan 31
3
Script: Moving Maildirs between servers
..."
if [ $action"X" == copy"X" ]; then
{
echo -n ":"
destname=$basename
# Merge contents of .Draft and .Drafts to .Drafts:
if [ $basename"X" == .Draft"X" ]; then destname=${destname}"s"; fi
destimap=${DESTDIR}/${destname}
# If this is the Maildir folder (.), a clean desination name is needed for mkdir:
if [ $basename"X" == ."X" ]; then destimap=${DESTDIR}; fi
mkdir -m 700 "${destimap}"
echo -n "."
chown ${username} &qu...