help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cat inside find utility to start search directory list in a file


From: Alex fxmbsw7 Ratchev
Subject: Re: cat inside find utility to start search directory list in a file
Date: Thu, 2 Sep 2021 08:14:11 +0200

mapfile -t loc <file
find "${loc[@]}" ..

file ( or data ) may also contain \0s instead of \ns as separator, then
just do -d '' on mapfile

On Thu, Sep 2, 2021, 07:23 Budi <budikusasi@gmail.com> wrote:

> Tried have find utility to start search directory listed in a file:
>
>  find "`cat a.txt`"
>
> can't go right
> As the dir. names contains space
> Please help to solve
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]