Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 1998 09:17:13 -0400
From:      Roman Katsnelson <romank@graphnet.com>
To:        "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   removing files
Message-ID:  <35D195D9.CD9E1460@graphnet.com>

next in thread | raw e-mail | index | archive | help
Hi,

Let's say I have a directory with la.txt and foo.sh and 6 million other
files.

Can I issue a command that says: delete everything BUT la.txt and foo.sh


According to man rm there's no way to do it with that one. Is there an
alternative?

Thanks,

Roman
-- 
Roman Katsnelson                
UNIX Network Engineer 
Graphnet, Inc.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35D195D9.CD9E1460>