HTTP/2 302
server: nginx
date: Fri, 16 Jan 2026 12:41:02 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20060603162736
location: https://web.archive.org/web/20060603162736/https://keep.sourceforge.net/
server-timing: captures_list;dur=0.884777, exclusion.robots;dur=0.058517, exclusion.robots.policy;dur=0.040310, esindex;dur=0.012997, cdx.remote;dur=96.407411, LoadShardBlock;dur=113.168251, PetaboxLoader3.datanode;dur=47.023869, PetaboxLoader3.resolve;dur=19.717495
x-app-server: wwwb-app218-dc8
x-ts: 302
x-tr: 261
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app218; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 16 Jan 2026 12:41:03 GMT
content-type: text/html
x-archive-orig-date: Sat, 03 Jun 2006 16:27:36 GMT
x-archive-orig-server: Apache/1.3.33 (Unix) PHP/4.3.10
x-archive-orig-last-modified: Sun, 19 Sep 2004 17:50:18 GMT
x-archive-orig-etag: "1e03db-19fe-414dc6da"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 6654
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 03 Jun 2006 16:27:36 GMT
link:
; rel="original",
; rel="timemap"; type="application/link-format",
; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: EI_21_0_crawl22_.20060603083738-c/EI_21_0_crawl22_.20060603162643.arc.gz
server-timing: captures_list;dur=0.694556, exclusion.robots;dur=0.026155, exclusion.robots.policy;dur=0.011904, esindex;dur=0.012476, cdx.remote;dur=20.733997, LoadShardBlock;dur=344.985389, PetaboxLoader3.resolve;dur=138.602564, PetaboxLoader3.datanode;dur=251.073556, load_resource;dur=111.767311
x-app-server: wwwb-app218-dc8
x-ts: 200
x-tr: 522
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
The Keep Project
keep - a program that keeps the files you tell it to and deletes everything else in the current directory.
keep [OPTION ]... FILE ...
Sometimes you find yourself in a 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 designed for just such an occasion.
As an example, say that you have a directory containing:
banana kiwi strawberry grapefruit melon cumquat coconut pineapple
Now, you want to delete every file in the directory except kiwi , coconut , and melon . Traditionally, you would use a command similar to the following:
$ rm banana strawberry grapefruit cumquat pineapple
Here is the alternative, using the keep command:
$ keep kiwi coconut melon
As you can see, that is much easier and more logical in a situation like this.
-i , --interactive
Enables interactive mode. keep will prompt you before deleting any files.
-v , --versbose
Enables verbose mode. keep will describe in detail what it is doing.
-f , --force
Does not prompt prior to deleting files. Use this option with caution.
-h , --help
Displays a brief help message.
--version
Displays the version information for keep .
This example demonstrates basic operation of keep .
canada mexico russia england germany france poland
$ keep germany poland
germany poland
Like all other UNIX commands, you can pass wildcards to keep.
chicago chicken cow cheese
$ keep chic*
chicago chicken
keep also allows you to to keep nothing , or in other words delete everything in the current directory. The following command is identical to rm -f * :
$ keep -f
SourceForge.net project page
CVS Repository
Please refer to the README for detailed installation instructions.
Binary RPM Package
Source RPM Package
Source Tarball
keep currently does not work with directories. Error checking is very bad. Not very many options supported yet.
Darren L. LaChausse - the_trapper@users.sourceforge.net
Copyright (c) 2004, Darren L. LaChausse - ALL RIGHTS RESERVED