Re: Passing directories and files

goncholden <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <IoX0K3liqHEjNg_nCSUB1Xi1MFGjUrf_Yxai9esclpouJkTgp2x56n4RdG0PdHqmXagSAaFSPYekpfuNH32mut9m-nR3iQrKNEpR3sHExYs=@protonmail.com>
Although if I know the filename, I would not need to call the find command, and just pass the filename to HEAD, TAIL, or AWK.




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


> 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.