Get mac tar to stop putting ._* filenames in tar archives
Problem
Possible Duplicate: Why do I get files like ._foo in my tarball on OS X? I create autoconf scripts on a Mac. When tar runs, it puts all of these ._foobar names in the archive: Now what's going on is the Apple's HFS filesystem is putting the file properties in the ._foobar names so that they can be restored on another Mac system. But I don't want them --- they are just junk for me. Is there any way to suppress them?
Error Output
libewf-20110312/borlandc/builder5/ewfacquire/._ewfacquire.bpf libewf-20110312/borlandc/builder5/ewfacquire/ewfacquire.bpf libewf-20110312/borlandc/builder5/ewfacquire/._ewfacquire.bpr libewf-20110312/borlandc/builder5/ewfacquire/ewfacquire.bpr
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Get mac tar to stop putting ._* filenames in tar archives
Per an answer to another question, you can set the undocumented(?) environment variable COPYFILE_DISABLE to prevent several of the system-supplied programs (including tar) from giving special meaning to archive members. In particular, it will prevent them from: storing extended attribute data (including resource forks) in archive members (i.e. do not “pollute” archives created on Mac OS X but meant for use on other systems), and attempting to extract extended attributes or resources from archiv…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix