garabik/pydf
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
pydf is all-singing, all-dancing, fully colourised df(1)-clone
written in python.
Requirements:
pydf was written for linux, using specific linux features.
The fact it runs on other systems is pure coincidence,
but neverthless it happens to work on wide range of modern
unix systems.
System-wide configuration is in /etc/pydfrc, per-user
configuration in ~/.pydfrc (format of these files is the same)
Colours are one of:
none, default, bold, underline, blink, reverse, concealed,
black, green, yellow, blue, magenta, cyan, white,
on_black, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white
beep
on_red means that the background (instead of foreground) is painted
with red etc...
pydf recognizes following parameters:
--help show this help message
-a, --all include filesystems having 0 blocks
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)
-H, --si likewise, but use powers of 1000 not 1024
-bBLOCKSIZE, --block-size=BLOCKSIZE
use SIZE-byte blocks
-l, --local limit listing to local filesystems
-k, --kilobytes like --block-size=1024
-m, --megabytes like --block-size=1048576
-g, --gigabytes like --block-size=1073741824
--blocks use filesystem native block size
--bw do not use colours
--mounts=MOUNTS_FILE File to get mount information from. On normal linux
system, only /etc/mtab or proc/mounts make sense. Some
other unices use /etc/mnttab. Use /proc/mounts when
/etc/mtab is corrupted or inaccesable (the output
looks a bit weird in this case).
-B, --show-binds show also mount --bind mounted filesystems
Written by Radovan Garabík <garabik @ kassiopeia.juls.savba.sk>.
For new versions, look at http://kassiopeia.juls.savba.sk/~garabik/software/pydf/
About
df(1) clone with colour output
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published