This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import logging | |
import re | |
import subprocess | |
import sys | |
try: | |
import pydor | |
except ImportError: | |
print('Plese run:') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Usage: gdu -f- | python3 abspath.py | |
""" | |
import json | |
import sys | |
def processDir(data, path): | |
path = (path + '/' if path else '') + data[0]['name'] |
OlderNewer