Author: Oleg Broytman <phd@phdru.name>
License: GPL
-Remove old files.
+Remove old files. It's a portable replacement for
+`find start_dir -type f -mtime +31 -delete`.
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
-.PHONY: help Makefile
+.PHONY: help
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
-%: Makefile
- @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
\ No newline at end of file
+%: Makefile conf.py
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Welcome to remove-old-files's documentation!
============================================
+Remove old files. It's a portable replacement for
+`find start_dir -type f -mtime +31 -delete`.
+
.. toctree::
:maxdepth: 2
:caption: Contents:
+ news
+
+.. highlight:: none
+
+Command line
+------------
+
+remove-old-files.py
+~~~~~~~~~~~~~~~~~~~
+
+Usage::
+
+ remove-old-files.py -o days start_dir
+
+Options::
+ -o days, --older days
+ remove files older than this number of days;
+ this is a required option
Indices and tables
==================