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).
retain [options] ...
After installing retain
, type
retain --help
to see the complete command line usage.
pip install retain
Brian M. Clapper, bmc@clapper.org
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.