Clear, usable interfaces. Clean, accessible code.

Route 19

Logbook.

Filtering Dot Underscore May. 14 at 9:09 am

When tarring up a subversion release on Mac OS 10.5 (Leopard), it’s difficult to filter out the dot underscore (._*) files that riddle the filesystem. The exclude flag for tar won’t do it. By adding this command to my ~/.bash_profile these files are excluded when tarring from the terminal:

export COPYFILE_DISABLE=true

So now an archive won’t be filled with useless ._* files:

tar czvf ~/Desktop/rc_1.1.tgz --exclude='.svn' .

Recent Entries

More