[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] Cleanup clean all types of files unless otherwise



commit 26fe323880eb4b6c06b8d8508fb5bbc854c37128
Author: juga0 <juga@xxxxxxxxxx>
Date:   Tue Jul 17 16:33:49 2018 +0000

    Cleanup clean all types of files unless otherwise
    
    specified
---
 sbws/core/cleanup.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sbws/core/cleanup.py b/sbws/core/cleanup.py
index bce90fb..3c4c8f8 100644
--- a/sbws/core/cleanup.py
+++ b/sbws/core/cleanup.py
@@ -26,6 +26,11 @@ def gen_parser(sub):
                        formatter_class=ArgumentDefaultsHelpFormatter)
     p.add_argument('--dry-run', action='store_true',
                    help='Don\'t actually compress or delete anything')
+    p.add_argument('--no-results', action='store_true',
+                   help='Do not clean results files')
+    p.add_argument('--no-v3bw', action='store_true',
+                   help='Do not clean v3bw files')
+
 
 
 def _get_older_files_than(dname, num_days_ago, extensions):



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits