Re: Passing directories and files

goncholden <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <xgXRAVfeb703v1REPNvdu09UR7s0pxeNMgnXroxurnsCExMHDMKkuzz04w77dSidR3rWz4_PfgGkUjK0x7WSPG5cmrW8RP0BtvXld380EU8=@protonmail.com>
This means that I can use

find $filename -type f -print0

with no harm?




Sent with Proton Mail secure email.
------- Original Message -------
On Thursday, May 26th, 2022 at 6:32 AM, Bernhard Voelker <[email protected]> wrote:


> On 5/25/22 19:53, goncholden wrote:
>
> > Customarily people use the -name option for specific file names.
>
>
> True, but as directories are also files, the -name condition could
> also filter for specific directory names.
>
> Have a nice day,
> Berny
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.