retain

Delete all but the specified files/directories


License
Abstyles
Install
pip install retain==1.2.0

Documentation

Introduction

retain is a command-line utility that removes all files except the ones specified in its argument list. Conceptually, it's the opposite of rm (or del on Windows).

Usage

retain [options] ...

Options

After installing retain, type

retain --help

to see the complete command line usage.

Installation

pip install retain

Author

Brian M. Clapper, bmc@clapper.org

Copyright and License

Copyright © 2008-2016 Brian M. Clapper.

retain is released under a BSD License. Please see the accompanying License file.