Option not supported in Mac Terminal

Viewed 1506

I am using Mac OS for my project and I found out that some terminal commands doesn't work which works in ubuntu. I am confuse why it didn't work because it is based on unix only. example -

When I run this command on Mac, it gives me

tar --wildcards -vf nsx_manager_e80a2842-2460-6f17-1814-adfc81e220a7_20191114_233108.tgz -x "nsxapi.log"
tar: Option --wildcards is not supported
Usage:
   List:    tar -tf <archive-filename>
   Extract: tar -xf <archive-filename>
   Create:  tar -cf <archive-filename> [filenames...]
   Help:    tar --help

Here wildcards is not supported, is there any way we can make these options available on mac terminal. If yes, please help.

0 Answers
Related