]> git.phdru.name Git - ppu.git/blob - docs/index.rst
Remove empty directories
[ppu.git] / docs / index.rst
1 .. remove-old-files 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 Welcome to remove-old-files's documentation!
7 ============================================
8
9 Remove old files. It's a portable replacement for
10 `find start_dir -type f -mtime +31 -delete`.
11
12 .. toctree::
13    :maxdepth: 2
14    :caption: Contents:
15
16    news
17
18 .. highlight:: none
19
20 Command line
21 ------------
22
23 remove-old-files.py
24 ~~~~~~~~~~~~~~~~~~~
25
26 Usage::
27
28     remove-old-files.py -o days start_dir
29
30 Options::
31
32     -e, --empty-dirs
33                            remove empty directories
34     -o days, --older days
35                            remove files older than this number of days;
36                            this is a required option
37
38 Indices and tables
39 ==================
40
41 * :ref:`genindex`
42 * :ref:`modindex`
43 * :ref:`search`