| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung |
| benno-archive-tool [2026/04/22 13:51] – [Funktionen] lwsystems | benno-archive-tool [2026/04/22 13:55] (aktuell) – [Ausschließlich Index-Einträge löschen] lwsystems |
|---|
| |
| |
| * ''%%benno-archive-tool -D --maillist mails.txt%%'' | * ''%%benno-archive-tool --delete --maillist mails.txt%%'' |
| * ''%%benno-archive-tool -D -md --maillist mails.txt%%'' | * ''%%benno-archive-tool --delete --maildate --maillist mails.txt%%'' |
| * ''%%benno-archive-tool -D -f --maillist mails.txt%%'' | * ''%%benno-archive-tool --delete --force --maillist mails.txt%%'' |
| |
| | ==== Ausschließlich Index-Einträge löschen ==== |
| | |
| | Hiermit werden die E-Mails ausgeblendet und können nicht mehr gefunden werden. Die jeweilige E-Mail ist noch im Repo vorhanden und kann durch einen Re-Index wieder gefunden werden. |
| | Dieser Aufruf ist erheblich schneller und bietet sich bei einer großen Anzahl von E-Mails an. |
| | |
| | * '''%%benno-archive-tool --INDEX-DELETE --maillist mails.txt%%'' |
| ===== Journal nicht in Standard-Verzeichnis ===== | ===== Journal nicht in Standard-Verzeichnis ===== |
| |
| |
| <code> | <code> |
| -D,--delete Delete mails from index | -D,--delete Delete mails from index and repo |
| | -Do,--deleteorphans Delete orphan entries from index |
| -f,--force Delete mails without checking retention period | -f,--force Delete mails without checking |
| | retention period |
| -fe,--fileextension <FILEEXTENSION> File extension of the mail | -fe,--fileextension <FILEEXTENSION> File extension of the mail |
| | -h,--help print this description |
| -h,--help print this description | -i,--indexpath <INDEXPATH> Path of Index directory (default: |
| | /srv/benno/archive/index) |
| -i,--indexpath <INDEXPATH> Path of Index directory (default: /srv/benno/archive/index) | -id,--INDEX-DELETE Delete only index entry without |
| | checking repo |
| -j,--journalpath <JOURNALPATH> Path of Journal directory (default: /srv/benno/archive/repo) | -j,--journalpath <JOURNALPATH> Path of Journal directory (default: |
| | /srv/benno/archive/repo) |
| -jy,--journalyear <JOURNALYEAR> Current year to determine the current.journal | -jy,--journalyear <JOURNALYEAR> Current year to determine the |
| | current.journal |
| -m,--mailid <MAIL> Select mailid | -m,--mailid <MAIL> Select mailid |
| | --maillist <MAILLIST> Select maillist file with mailids |
| --maillist <MAILLIST> Select maillist file with mailids | -md,--maildate Take as retention period parameter |
| | the mail date |
| -md,--maildate Take as retention period parameter the mail date header (instead | -r,--repopath <REPOPATH> Path of Repo directory (default: |
| of IndexTS from index) | /srv/benno/archive/repo) |
| | -s,--subdirs <SUBDIRS> Set the total amount of |
| -r,--repopath <REPOPATH> Path of Repo directory (default: /srv/benno/archive/repo) | Subdirectories |
| | -sl,--subdirlen <SUBDIRLEN> Subdirlength |
| -s,--subdirs <SUBDIRS> Set the total amount of Subdirectories | -tk,--tagkey <TAGKEY> Set Tagkey name here (Currently |
| | only invisible possible) |
| -sl,--subdirlen <SUBDIRLEN> Subdirlength | -tv,--tagvalue <TAGVALUE> Set Tagvalue name here (Currently |
| | only 1 or 0 possible) |
| -tk,--tagkey <TAGKEY> Set Tagkey name here (Currently only invisible possible) | |
| | |
| -tv,--tagvalue <TAGVALUE> Set Tagvalue name here (Currently only 1 or 0 possible) | |
| </code> | </code> |