attachment-data.pl - import, export, and purge attachment data
./scripts/attachment-data.pl export -f attachments.dat < attachment-ids.txt
./scripts/attachment-data.pl remove -f attachments.dat < attachment-ids.txt
./scripts/attachment-data.pl import -f attachments.dat