Skip to main content

NCDU crawler for systems where only ls is available

Project description

ls2ncdu

Parser for systems which only have ls -lR available

JSON format ref: https://dev.yorhel.nl/ncdu/jsonfmt

Install

pip3 install --user ls2ncdu
ls2ncdu --help

Usage

Output is written to stdout. Takes output from ls -lR. The resulting .json file is readable by ncdu -f

Example usage for NCI massdata:

mdss ls -lR | ls2ncdu.py > mdss_files.json
ncdu -f mdss_files.txt

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

ls2ncdu-0.0.3.tar.gz (3.2 kB view hashes)

Uploaded source

Built Distribution

ls2ncdu-0.0.3-py3-none-any.whl (4.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page