using find to produce a list of file extensions in use

From: Eric (no_one_at_comcast.net)
Date: 02/21/05


Date: Mon, 21 Feb 2005 12:59:00 -0800

I've been fooling around with find trying to get it to scan my directory
tree and tell me what file extension have been used. but i cant come up
with a combo of find,sed,sort & uniq that will give me what i want.
I want the list to look something like this:
html
jpg
png

Anyone?
Thanks
Eric

-- 
Byte=8 bits, a kilobyte is 1024 bytes
There is no such thing as a kibibit,mebibit etc


Relevant Pages

  • Re: using find to produce a list of file extensions in use
    ... > tree and tell me what file extension have been used. ... but i cant come up ... > with a combo of find,sed,sort & uniq that will give me what i want. ...
    (alt.linux)
  • Re: using find to produce a list of file extensions in use
    ... Chris F.A. Johnson wrote: ... >> I've been fooling around with find trying to get it to scan my directory ... >> tree and tell me what file extension have been used. ...
    (alt.linux)
  • Re: using find to produce a list of file extensions in use
    ... Chris F.A. Johnson wrote: ... >> I've been fooling around with find trying to get it to scan my directory ... >> tree and tell me what file extension have been used. ...
    (alt.linux)
  • Re: Searching "Binary Search Trees" using recursion.
    ... but for it to keep searching through the tree it needs to ... statements, and if i use return statements, i cant call iself twice. ... that i am traversing through the tree without any kind of comparisons ... setLeftor setRight() methods on it to reference the new replacement. ...
    (comp.lang.java.help)
  • Re: Who
    ... Am i fooling? ... or to myself wen im pissed, yeh im smiling, i seem happy, but you cant see ... Im a fraud, im only wot i see fit to be from one day to the next, this isnt ... me, i cant answer that question, cos i really dont have a clue who the fuck ...
    (uk.people.support.depression)