X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Findex.rst;h=3f27dd25c84e9c4ddfb44c0f677b5616ba13db09;hb=c3c81973f94f6b4617a2271bbaeef01ecad502bb;hp=1fa41621e8280de94716b9a1d9a53fa169e2248d;hpb=5072f4307c3c5521a14c221be7b4358b8e5c07a7;p=ppu.git diff --git a/docs/index.rst b/docs/index.rst index 1fa4162..3f27dd2 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,18 +1,16 @@ -.. remove-old-files documentation master file, created by +.. ppu documentation master file, created by sphinx-quickstart on Sat Apr 15 20:37:34 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. -Welcome to remove-old-files's documentation! -============================================ - -Remove old files. It's a portable replacement for -`find start_dir -type f -mtime +31 -delete`. +Portable Python Utilities +========================= .. toctree:: :maxdepth: 2 :caption: Contents: + install news .. highlight:: none @@ -23,12 +21,17 @@ Command line remove-old-files.py ~~~~~~~~~~~~~~~~~~~ +Remove old files. It's a portable replacement for +`find start_dir -type f -mtime +31 -delete`. + Usage:: - remove-old-files.py -o days start_dir + remove-old-files.py [-e] -o days start_dir Options:: + -e, --empty-dirs + remove empty directories -o days, --older days remove files older than this number of days; this is a required option