mdchia / ls2ncdu

Parser for systems which only have `ls -lR` available

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Parser for systems which only have `ls -lR` available

License:MIT License


Languages

Language:Python 100.0%