Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markuspetermann/maildirarchive.sh
Very simple Maildir archiver
https://github.com/markuspetermann/maildirarchive.sh
maildir
Last synced: about 1 month ago
JSON representation
Very simple Maildir archiver
- Host: GitHub
- URL: https://github.com/markuspetermann/maildirarchive.sh
- Owner: markuspetermann
- License: mit
- Created: 2019-10-01T20:07:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T20:31:21.000Z (about 5 years ago)
- Last Synced: 2024-02-10T12:39:11.672Z (11 months ago)
- Topics: maildir
- Language: Shell
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# maildirarchive.sh
Very simple Maildir archiver. Solves the task of moving an entire Maildir to a subfolder of another Maildir. Useful e.g. if an employee leaves the organization and you want to copy his/her Maildir to your archive.## Configuration
Some configuration options are available in the script. In most cases, you probably want to customize other parts of the script as well.## Usage
Copy script, customize options and further parts of the script to meet your needs.
```bash
maildirarchive.sh
```## Features
- Removes `.` in original Maildir name. E.g. if you used `.` as folder name.
- Only moves non-empty folders
- Skips a list of mostly worthless folders, e.g. `Trash, Junk, ...` (needs customization)
- Deletes(!) the old folder if `enable_cleanup=1`
- Sets the owner and group of the newly created folders (needs customization)## Things that might be useful in the future
- Update subscription file, subscribe to new folders