Hello,
I can't seem to get my regex right to print out bot the .xml and .zip file. I've been working on this for hours. Can someone please assist this old timer. Thanks in advance. Doing this on a mac os x system if that matters any.
find . -regex "./DC18B[0-9]*\(.zip|.xml\)" -print
find . -regex "./DC18B[0-9]*\./(zip\|xml/)" -print
DC18B20181130111.xml
DC18B20181130111.zip
I can't seem to get my regex right to print out bot the .xml and .zip file. I've been working on this for hours. Can someone please assist this old timer. Thanks in advance. Doing this on a mac os x system if that matters any.
find . -regex "./DC18B[0-9]*\(.zip|.xml\)" -print
find . -regex "./DC18B[0-9]*\./(zip\|xml/)" -print
DC18B20181130111.xml
DC18B20181130111.zip