Skip to main content

rclone_ls

List files/dirs and their sizes in a given rclone path.

Example usage

$ ./rclone_ls googledrive:/backup
8196	.DS_Store
1747191312	books/
1503049236	downloads/
930638960	temp/
total:	8225934615


$ ./rclone_ls -H googledrive:/backup
8.2 kB	.DS_Store
1.7 GB	books/
1.5 GB	downloads/
930.6 MB	temp/
total:	2.7 GB


$ ./rclone_ls /home/david/books
259333833  book1.pdf
4534544    book2.pdf
total:  263868377


$ ./rclone_ls -h
usage: rclone_ls [-h] [-H] [--debug] rclone_path

List files/dirs and their sizes in a given rclone path. For instance: rclone_ls remote:/path

positional arguments:
  rclone_path  rclone path

options:
  -h, --help   show this help message and exit
  -H           Use unit suffixes: Byte, Kilobyte, Megabyte...
  --debug      Enable debug mode

Note

  • The total output is printed in stderr. To prevent it from being displayed, you can add the following to the command line: 2>/dev/null.
  • The rclone_path parameter can also accept a local folder path like /home/david/books.

Installation

ChatGPT Python Developer Assistance

I sought assistance from ChatGPT during the the development and publication of this simple Python script, and I must say it was absolutely incredible. I'm sharing a transcript of our conversation.

Metadata

Release files for rclone-ls 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rclone-ls 0.0.2
File Size Uploaded Provenance Actions
rclone_ls-0.0.2.tar.gz 3.4 kB Without provenance Details for rclone_ls-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rclone-ls 0.0.2
File Interpreter ABI Platform Actions
rclone_ls-0.0.2-py3-none-any.whl Python 3 none any Details for rclone_ls-0.0.2-py3-none-any.whl

Total release size: 7.2 kB

Release files / rclone_ls-0.0.2.tar.gz

Download URL rclone_ls-0.0.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9ca5244a43c9e3e3c871eec71d2c180bc2b3eae329d1067418a99e948637a0f9
BLAKE2b-256 checksum
How to use checksums
8024912f300852fd92796194d9c1271186b79b60e337e5fdd70c65c6847af74b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / rclone_ls-0.0.2-py3-none-any.whl

Download URL rclone_ls-0.0.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e36d5ba7c13158e0d295694db237dbbbf6db918002ce2ac798717c08bc6cabe8
BLAKE2b-256 checksum
How to use checksums
cf2ad125df027da46a9d9abcf7d6bb83c69c797d7925b169f8e69e6567259032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for rclone-ls 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page