This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
main() { | |
previous_file="$1" | |
file_to_edit=`select_file $previous_file` | |
if [ -n "$file_to_edit" ] ; then | |
"$EDITOR" "$file_to_edit" | |
main "$file_to_edit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (C) 2020 Red Dove Consultants Limited | |
# | |
# License: GPL v2 | |
# | |
# | |
# This script uses imapsync to synchronize IMAP mailboxes. It uses as input a CSV file | |
# with columns oldhost,olduser,oldpwd,newhost,newuser,newpwd,migrate. The first line | |
# is expected to be those column names. oldXXX columns refer to the source mailbox | |
# information and newXXX columns refer to the target mailbox information. The migrate |