2021年3月8日星期一

Script or command to search strings on multiple folders and output result to /tmp

I was searching strings on the archive using this command.. zgrep 'order-number' *fastbg* > /tmp/order-number.fastbg.txt

How can I search on multiple dated directories (20210302, 20210303, 20210304..) using a script or find command. I still want to output result on /tmp. Can anyone help?

https://stackoverflow.com/questions/66539387/script-or-command-to-search-strings-on-multiple-folders-and-output-result-to-tm March 09, 2021 at 09:08AM

没有评论:

发表评论