Hi all,
How can find just the directories, that contain certain types of files?
find / -name "*.cfm"
- will give me all the .cfm files.
find / -type d
- will give me all the directories on the system.
find / -name "*.cfm" -type d
- gives me nothing
I was thinking of cut, and looked at the man pages.
There wasn't anything to cut from the tail end of a string,
that I could see. If so, it could be delimited by "/".
Is there a way to combine some commands to get just the
directories that contain the .cfm files?
Thanks,
Argosy
Sent via Deja.com http://www.deja.com/
Before you buy.