Skip to main content

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.

Usage

Configure remote, rosbag dir and optionally disk name (for zotac status)

$ zotac config \
    remote SSH_CONNECTION_STRING \
    logdir PATH_TO_ROSBAGS \
    disk DISK_NAME

Commands

Print the help

$ zotac COMMAND --help

e.g.

$ zotac copy --help

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zotac-0.0.3.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

zotac-0.0.3-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page