ls -al a
-rw-r--r--@ 1 hayd staff 414720 20 Aug 18:41 a
No idea what it is, I tried renaming it to .PDF, .DOC, .TXT etc. but neither Finder, TextEdit, vi nor OpenOffice would open it.
Then I remembered ....
Mac OS X is just like Unix, in fact it IS Unix.
And we have the file command: -
file a
a: CDF V2 Document, Little Endian, Os: Windows, Version 6.1, Code page: 1252, Author: Bob Slobb, Template: C:\Program Files\Microsoft Office\Visio11\1033\FOOBAR.VST, Name of Creating Application: Microsoft Visio
at which point, all becomes clear. It's a Visio drawing, which I can open in OmniGraffle.
A swift rename later: -
mv a a.vsd
and we're up and running.
Remember, folks, file is your friend
No comments:
Post a Comment