From cead4c6e8508f1504c57e3dfdc919ee88ee4cbbb Mon Sep 17 00:00:00 2001 From: Comma Device Date: Tue, 21 Apr 2020 11:11:43 -0700 Subject: [PATCH] mark unuploaded --- selfdrive/loggerd/tools/mark_unuploaded.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 selfdrive/loggerd/tools/mark_unuploaded.py diff --git a/selfdrive/loggerd/tools/mark_unuploaded.py b/selfdrive/loggerd/tools/mark_unuploaded.py new file mode 100755 index 00000000000000..266c6261be0382 --- /dev/null +++ b/selfdrive/loggerd/tools/mark_unuploaded.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python3 +import sys +from common.xattr import removexattr +from selfdrive.loggerd.uploader import UPLOAD_ATTR_NAME + +for fn in sys.argv[1:]: + print("unmarking %s" % fn) + removexattr(fn, UPLOAD_ATTR_NAME) +