help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar mode and package.el can't support bsdtar in mac OSX


From: ChinaXing
Subject: Re: tar mode and package.el can't support bsdtar in mac OSX
Date: Mon, 15 Apr 2013 20:47:35 +0800

the ._xxx file was generated by Mac sox when creating tar ball,
you can disable this by set environment variable COPYFILE_DISABLE=1:

COPYFILE_DISABLE=1 gnutar cf dir.tar dir

在 2013-4-14,下午5:40,Peter Dyballa <Peter_Dyballa@Web.DE> 写道:

> 
> Am 14.04.2013 um 04:04 schrieb 陈云星:
> 
>> i create a tarball with bsdtar( the default tar tool in Mac osx) then open 
>> it with emacs tar-mode.
>> 
>> but it can't be opened.
> 
> On Mac OS X 10.6.8, Snow Leopard, I cannot reproduce this. The bsdtar archive 
> I created can be opened with /usr/bin/emacs -Q. What's puzzling is that 
> bsdtar includes the metadata resource forks of regular files into the 
> archive, as in:
> 
>        -rw-r--r--     501/80          452 ./._vishnusmriti.txt
>        -rw-r--r--     501/80       402641 vishnusmriti.txt
>        -rwxr-xr-x     501/80          323 emacs.sh
>        -rw-r--r--     501/80        10913 dot-emacs
>        -rw-r--r--     501/80          478 ./._test-vertical.tex
>        -rw-r--r--     501/80          268 test-vertical.tex
>        -rw-r--r--     501/80          477 ./._ThreeKingdomsCh1.tex.zip
>        -rw-r--r--     501/80         9639 ThreeKingdomsCh1.tex.zip
> 
> What I cannot open successfully is the ZIP archive inside the bsdtar archive.
> 
> For help give more details! How did you create the bsdtar archive? What was 
> the command line? How did you launch GNU Emacs? Did you try it with -Q, i.e., 
> without any customisation? What is your Mac OS X version? Which version of 
> GNU Emacs are you using?
> 
> --
> Greetings
> 
>  Pete
> 
> Think of XML as Lisp for COBOL programmers.
>                               - Tony-A (some guy on /.)
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]