Sorry: find / -name *.txt -exec echo {}; echo {} >> all.txt ; cat {} >>
all.txt \;
This doesn't work with or without quotes.
*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **| *
*|* *Email**: [email protected] **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il **|*
On Mon, Jan 24, 2022 at 7:27 AM Paul Gilmartin <
[email protected]> wrote:
> On Mon, 24 Jan 2022 07:17:17 +0200, Itschak Mugzach wrote:
>
> >Example: ls *.txt -exec echo {}; echo {} >> all.txt ; cat {} >> all.txt \;
> >
> "ls" has no such operand as "-exec". Are you thinking of a "find" command?
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN