Re: GNU find command. explain results please ?

From: Alexander Skwar (from_at_alexander.skwar.name)
Date: 02/02/05


Date: Wed, 02 Feb 2005 11:31:24 +0100

Jacob <Jacob@FAKEDOMAIN.NOTHERE>:

> On Wed, 02 Feb 2005 09:31:02 +0000, a posting issued forth from sam1967@hetnet.nl...
>> Alexander Skwar wrote:
>>
>>> sam1967@hetnet.nl <sam1967@hetnet.nl>:
>>>
>>>> OK. so how do I use the find command to find only hidden files ?
>>>
>>> First hit at
>>>
>> http://groups.google.de/groups?q=find%20only%20hidden%20files%20linux&hl=de&lr=&sa=N&tab=wg
>>>
>>> [10:10:35 vz6tml@exp01:/tmp] $ find . -type f
>>
>> that is not correct Alex. that does not display only hidden files.
>> that finds all files of type f (regular file ) from the current directory
>> (.)
>>
>
> This is true.

That's wrong, as his statement was wrong.

> You wanted:
>
> find -name .\* -type f

Yep. Just what I wrote.

Alexander Skwar

-- 
"Obviously, a major malfunction has occurred."
  -- Steve Nesbitt, voice of Mission Control, January 28,
     1986, as the shuttle Challenger exploded within view
                   of the grandstands.
_·¯·_·¯·_·¯·_·¯·_ äöüßÄÖÜæœłø¼½¾¤¹²³¢€£¥¶§¬÷×±©®™¡¿♪ ¯·_·¯·_·¯·_·¯·_·¯


Relevant Pages