Zotac tools
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file zotac-0.0.4.tar.gz
.
File metadata
- Download URL: zotac-0.0.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02a27df7cfe50a74d16305e3d48a4ffe8ca9e85631b22f9de5119e03820907a9 |
|
MD5 | ee7b189efca27233603388deb8e65fd4 |
|
BLAKE2b-256 | bc80a628837e0fd623ab06a00cde61b9312583ec4736aa402596adf02dcb619d |
File details
Details for the file zotac-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: zotac-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f902a19b2daef7da530eaf7472d0b837476ea197ed9efc56761237b6b14013bd |
|
MD5 | aa4edcaf6f4186b29152eed4f49f813b |
|
BLAKE2b-256 | b02b5fb1644c7dd4ffcdc04403a147bce049f1c6e3ca035562310405352d8707 |