]> git.phdru.name Git - ppu.git/blob - docs/index.rst
4605aaa1e8a1fba8488542ed89aee2b0b4768eca
[ppu.git] / docs / index.rst
1 .. ppu documentation master file, created by
2    sphinx-quickstart on Sat Apr 15 20:37:34 2017.
3    You can adapt this file completely to your liking, but it should at least
4    contain the root `toctree` directive.
5
6 Portable Python Utilities
7 =========================
8
9 .. toctree::
10    :maxdepth: 2
11    :caption: Contents:
12
13    install
14    news
15
16 .. highlight:: none
17
18 Command line
19 ------------
20
21 cmp.py
22 ~~~~~~
23
24 Compare two files.
25
26 Usage::
27
28     cmp.py file1 file2
29
30 remove-old-files.py
31 ~~~~~~~~~~~~~~~~~~~
32
33 Remove old files. It's a portable replacement for
34 `find start_dir -type f -mtime +31 -delete`.
35
36 Usage::
37
38     remove-old-files.py [-e] -o days start_dir
39
40 Options::
41
42     -e, --empty-dirs
43                            remove empty directories
44     -o days, --older days
45                            remove files older than this number of days;
46                            this is a required option
47
48 rm.py
49 ~~~~~
50
51 Remove files.
52
53 Usage::
54
55     rm.py file1 [file2...]
56
57 Indices and tables
58 ==================
59
60 * :ref:`genindex`
61 * :ref:`modindex`
62 * :ref:`search`