Date: Tue, 24 Feb 2004 20:31:38 -0800 From: Saint Aardvark the Carpeted <aardvark@saintaardvarkthecarpeted.com> To: Vulpes Velox <kitbsdlists@hotpop.com> Cc: freebsd-questions@freebsd.org Subject: Re: file selector and shell scripts Message-ID: <20040225043138.GB23994@hardesty.saintaardvarkthecarpeted.com> In-Reply-To: <20040224161836.6a000415@vixen42> References: <20040224161836.6a000415@vixen42>
next in thread | previous in thread | raw e-mail | index | archive | help
Vulpes Velox disturbed my sleep to write: > I am currently working on putting together a shell script to allow me > to save files with certian extensions under firefox and then run a few > commands on them... the problem I am running into is there I can't > seem to find any thing to take care of the file selector part... I think find(1) might be what you're after. It has a zillion options, but a good example would be: find /usr/local/lib -name \*.so -exec rm {} \; which finds all the .so files in /usr/local/lib and removes them. Note: Do NOT remove all your .so files. :-) Hugh -- Saint Aardvark the Carpeted aardvark@saintaardvarkthecarpeted.com Because the plural of Anecdote is Myth.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040225043138.GB23994>