May 14 2011

Archiving and extracting files using tar

I always have the hardest time remembering the command line options for tar.  Found a simple site that explains them concisely and figured I’d post the info here so I always know where to easily find it all.

To tar all files in a directory into a file named foo.tgz:

tar cvzf foo.tgz dir

To extract the contents of a tar:

tar xvzf foo.tgz

More information here.


May 8 2011

Making NTFS Play Nicely With Mac OS X

Mac OS X does not support writing to Microsoft Windows formatted NTFS volumes out-of-the box.  Having only one Mac and a whole bunch of Windows machines, I’ve been looking for a way to easily share files between them, particularly using an external harddrive.  After trying a bunch of solutions, I found the one that works best – Tuxera NTFS for Mac.  It is easy to install, easy to use, and seems to work reliably.