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**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|* *Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il **|* On Mon, Jan 24, 2022 at 7:27 AM Paul Gilmartin < 0000000433f07816-dmarc-requ...@listserv.ua.edu> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN