Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2000 11:25:00 +0300 (EEST)
From:      Evren Yurtesen <yurtesen@ispro.net.tr>
To:        freebsd-questions@freebsd.org
Subject:   how to delete all files but the XYZ file.
Message-ID:  <Pine.BSF.4.21.0008261122230.16809-100000@finland.ispro.net.tr>

next in thread | raw e-mail | index | archive | help
Lets say I have 1230 files in one directory and I want to delete
all of the files but not the files named XYZ, XYA, XYB etc.
I want to do this from shell without using any file managers. (since
actually I need to do this from a script)

Evren



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?Pine.BSF.4.21.0008261122230.16809-100000>