Zotac tools
This package simplifies remote manipulation of rosbags on zotac. It lets you copy rosbags to your PC and delete old robags. It also provides a view of all rosbags grouped by date.
Installation
Simply run
$ python3 -m pip install zotac
(Requires python >= 3.6)
Usage
Configure remotes, rosbag dir and optionally disk name (for zotac status)
$ zotac config \
remotes REMOTE1,REMOTE2,REMOTE3,.. \
logdir PATH_TO_ROSBAGS \
disk DISK_NAME
It is possible to configure multiple remotes by passing a comma-separated list. When issuing commands to zotac, the tool will first select an available remote from the specified list.
Commands
Print the help
$ zotac COMMAND --help
e.g.
$ zotac copy --help
Get more detailed output (suitable for debugging):
$ zotac COMMAND -v/--verbose
e.g.
$ zotac list -v
View the rosbag directory
$ zotac list
Copy selected rosbag including logs
$ zotac copy # By default copies second-to-last bag
$ zotac copy ROSBAG_INDEX
$ zotac copy ROSBAG_INDEX TARGET_DIR
Copy only logs
$ zotac copy ROSBAG_INDEX -l/--logs-only
Delete logs
$ zotac delete -a/--all # Delete all
$ zotac delete -u/--until ROSBAG_INDEX # Delete all bags before
$ zotac delete -k/--keep ROSBAG_INDEX # Keep all bags after
View disk usage
$ zotac status
Configure
$ zotac config \
remotes REMOTE1,REMOTE2,REMOTE3,.. \
logdir PATH_TO_ROSBAGS \
disk DISK_NAME
Metadata
Release files for zotac 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zotac-0.0.4.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zotac-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / zotac-0.0.4.tar.gz
| Download URL | zotac-0.0.4.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02a27df7cfe50a74d16305e3d48a4ffe8ca9e85631b22f9de5119e03820907a9
|
|
BLAKE2b-256 checksum How to use checksums |
bc80a628837e0fd623ab06a00cde61b9312583ec4736aa402596adf02dcb619d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Release files / zotac-0.0.4-py3-none-any.whl
| Download URL | zotac-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f902a19b2daef7da530eaf7472d0b837476ea197ed9efc56761237b6b14013bd
|
|
BLAKE2b-256 checksum How to use checksums |
b02b5fb1644c7dd4ffcdc04403a147bce049f1c6e3ca035562310405352d8707
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|