Benutzer-Werkzeuge

Webseiten-Werkzeuge


benno-archive-tool

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
benno-archive-tool [2026/04/21 11:11] – [Date-Header für Aufbewahrungsfrist] lwsystemsbenno-archive-tool [2026/04/22 13:55] (aktuell) – [Ausschließlich Index-Einträge löschen] lwsystems
Zeile 49: Zeile 49:
   * Lösche Mails aus dem Index anhand einer Liste   * Lösche Mails aus dem Index anhand einer Liste
   * Lösche doppelte Mails aus dem Index   * Lösche doppelte Mails aus dem Index
-  * Mail wird aus dem REPO Ordner gelöscht+  * Mail wird aus dem REPO Ordner gelöscht (Mail in S3-Repos müssen zusätzlich manuell gelöscht werden)
   * Leere Ordner oberhalb des Pfades der Mail werden ebenfalls gelöscht   * Leere Ordner oberhalb des Pfades der Mail werden ebenfalls gelöscht
  
Zeile 82: Zeile 82:
  
  
-  * ''benno-archive-tool ---maillist mails.txt'' +  * ''%%benno-archive-tool --delete --maillist mails.txt%%'' 
-  * ''benno-archive-tool --md --maillist mails.txt'' +  * ''%%benno-archive-tool --delete --maildate --maillist mails.txt%%'' 
-  * ''benno-archive-tool ----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 =====
  
Zeile 96: Zeile 102:
  
 <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>
benno-archive-tool.1776769897.txt.gz · Zuletzt geändert: 2026/04/21 11:11 von lwsystems