tool that deletes everything in a directory but a selection
keep is a program which deletes everything in a directory except for the files that you tell it to keep. It is useful in the situation where the list of files in a directory that you want to keep is shorter than the list of files you want to delete.
keep is a program which deletes everything in a directory except for the files that you tell it to keep. It is useful in the situation where the list of files in a directory that you want to keep is shorter than the list of files you want to delete.
To install keep, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install keep
To see what files were installed by keep, run:
port contents keep
To later upgrade keep, run:
sudo port selfupdate && sudo port upgrade keep
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.