X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Findex.rst;h=8e4112a9690de53f00290bd67261f6577eb9bc6c;hb=97b4410203f8fb7318b0965bfa58925b71a807db;hp=3f27dd25c84e9c4ddfb44c0f677b5616ba13db09;hpb=c3c81973f94f6b4617a2271bbaeef01ecad502bb;p=ppu.git diff --git a/docs/index.rst b/docs/index.rst index 3f27dd2..8e4112a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -18,6 +18,23 @@ Portable Python Utilities Command line ------------ +cmp.py +~~~~~~ + +Compare two files. + +Usage:: + + cmp.py [-i] [-s --silent --quiet] file1 file2 + +Options:: + + -i, --inhibit-progress-bar + inhibit progress bar + -s, --silent, --quiet + be silent (implied -i) + + remove-old-files.py ~~~~~~~~~~~~~~~~~~~ @@ -36,6 +53,33 @@ Options:: remove files older than this number of days; this is a required option +rm.py +~~~~~ + +Remove files or directories. Ask interactively to remove read-only files or +directories. + +Usage:: + + rm.py [-r] name1 [name2...] + +Options:: + + -r, --recursive + recursively remove directories + -f', --force + force (ignore non-existing files and errors) + + +which.py +~~~~~~~~ + +Find a program in PATH and print full path to it. + +Usage:: + + which.py program + Indices and tables ==================