X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs%2Findex.rst;h=f339591f6e46d3a9e2a1bb3a91e405dfc93de6ed;hb=4d7880a9e00cb02adc0a109aacfbd8f200bdbf90;hp=17c64cbbfd55ca245d93273d1e36b3a014be2805;hpb=5ff3d7feb2e7405d407fde480a6573d0c5c2b9db;p=ppu.git diff --git a/docs/index.rst b/docs/index.rst index 17c64cb..f339591 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,11 +6,35 @@ 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: + install + news + +.. highlight:: none + +Command line +------------ + +remove-old-files.py +~~~~~~~~~~~~~~~~~~~ + +Usage:: + + remove-old-files.py -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 Indices and tables ==================