rclone-ls


Namerclone-ls JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/dportabella/rclone_ls
SummaryScript to list files/dirs and their sizes in a given rclone path.
upload_time2023-05-29 11:38:27
maintainer
docs_urlNone
authorDavid Portabella
requires_python>=3.0
licenseMIT
keywords python rclone ls
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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
- Manually install rclone: https://rclone.org/downloads/
- Configure your rclone remotes: https://rclone.org/commands/rclone_config/
- `$ pip install rclone_ls`


## 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](chatgpt_developer_assistance.md).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dportabella/rclone_ls",
    "name": "rclone-ls",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": "",
    "keywords": "Python,rclone,ls",
    "author": "David Portabella",
    "author_email": "david.portabella@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/80/24/912f300852fd92796194d9c1271186b79b60e337e5fdd70c65c6847af74b/rclone_ls-0.0.2.tar.gz",
    "platform": null,
    "description": "# rclone_ls\n\nList files/dirs and their sizes in a given rclone path.\n\n## Example usage\n```\n$ ./rclone_ls googledrive:/backup\n8196\t.DS_Store\n1747191312\tbooks/\n1503049236\tdownloads/\n930638960\ttemp/\ntotal:\t8225934615\n\n\n$ ./rclone_ls -H googledrive:/backup\n8.2 kB\t.DS_Store\n1.7 GB\tbooks/\n1.5 GB\tdownloads/\n930.6 MB\ttemp/\ntotal:\t2.7 GB\n\n\n$ ./rclone_ls /home/david/books\n259333833  book1.pdf\n4534544    book2.pdf\ntotal:  263868377\n\n\n$ ./rclone_ls -h\nusage: rclone_ls [-h] [-H] [--debug] rclone_path\n\nList files/dirs and their sizes in a given rclone path. For instance: rclone_ls remote:/path\n\npositional arguments:\n  rclone_path  rclone path\n\noptions:\n  -h, --help   show this help message and exit\n  -H           Use unit suffixes: Byte, Kilobyte, Megabyte...\n  --debug      Enable debug mode\n```\n\n## Note\n- The `total` output is printed in stderr. \n  To prevent it from being displayed, you can add the following to the command line: `2>/dev/null`.\n- The `rclone_path` parameter can also accept a local folder path like `/home/david/books`.\n\n\n## Installation\n- Manually install rclone: https://rclone.org/downloads/\n- Configure your rclone remotes: https://rclone.org/commands/rclone_config/\n- `$ pip install rclone_ls`\n\n\n## ChatGPT Python Developer Assistance\nI 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](chatgpt_developer_assistance.md).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Script to list files/dirs and their sizes in a given rclone path.",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/dportabella/rclone_ls"
    },
    "split_keywords": [
        "python",
        "rclone",
        "ls"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cf2ad125df027da46a9d9abcf7d6bb83c69c797d7925b169f8e69e6567259032",
                "md5": "524c4a86099923a655d6de275131d1d0",
                "sha256": "e36d5ba7c13158e0d295694db237dbbbf6db918002ce2ac798717c08bc6cabe8"
            },
            "downloads": -1,
            "filename": "rclone_ls-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "524c4a86099923a655d6de275131d1d0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 3811,
            "upload_time": "2023-05-29T11:38:24",
            "upload_time_iso_8601": "2023-05-29T11:38:24.838528Z",
            "url": "https://files.pythonhosted.org/packages/cf/2a/d125df027da46a9d9abcf7d6bb83c69c797d7925b169f8e69e6567259032/rclone_ls-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8024912f300852fd92796194d9c1271186b79b60e337e5fdd70c65c6847af74b",
                "md5": "eb67f9f0dd6bb29fa88b8da122969682",
                "sha256": "9ca5244a43c9e3e3c871eec71d2c180bc2b3eae329d1067418a99e948637a0f9"
            },
            "downloads": -1,
            "filename": "rclone_ls-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "eb67f9f0dd6bb29fa88b8da122969682",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 3414,
            "upload_time": "2023-05-29T11:38:27",
            "upload_time_iso_8601": "2023-05-29T11:38:27.302140Z",
            "url": "https://files.pythonhosted.org/packages/80/24/912f300852fd92796194d9c1271186b79b60e337e5fdd70c65c6847af74b/rclone_ls-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-29 11:38:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dportabella",
    "github_project": "rclone_ls",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "rclone-ls"
}
        
Elapsed time: 0.15093s