Skip to content

bmc/retain

Repository files navigation

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 and License

retain is copyright © 2008-2023 Brian M. Clapper.

Prior to version 1.1.0, retain was released under a 3-clause BSD license. As of version 1.1.0 retain is released under the Apache Software License, version 2.0. See the license file and https://www.apache.org/licenses/LICENSE-2.0 for more details.