On Aug 28, 2012, at 6:26 AM, Gautam Sai Krishna wrote:
> I recently upgraded too mountain lion , and i am not able to unpack my tar 
> files through terminal
> 
> when i am using any command related to tar it is giving me error
> 
> example $ tar
> 
> bash: /usr/bin/tar: Bad CPU type in executable

What does 'file /usr/bin/tar' say?

On an older version of MacOS X, it should say something like:

% file /usr/bin/tar
/usr/bin/tar: Mach-O universal binary with 3 architectures
/usr/bin/tar (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/tar (for architecture i386):   Mach-O executable i386
/usr/bin/tar (for architecture ppc7400):        Mach-O executable ppc

...but a 10.8 binary would not include the ppc flavor.

Regards,
-- 
-Chuck


Reply via email to