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) +