Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Matplotlib
- HDF5
- openmp
- python
- Visual Studio
- vim
- GSL
- SSH
- tab space
- conda
- mpi4py
- polyglot
- virtual
- Windows
- Anaconda
- h5py
- cygwin
- HFS+
- cython
- gfortran
- vi
- hyperref
- intel compiler
- c++
- datascience
- jupyter
- MAC
- LaTeX
- arXiver
- portforwarding
Archives
- Today
- Total
Astro Coke
[OSX&Windows] ._ files in tar from Mac OSX 본문
source1: https://superuser.com/questions/61185/why-do-i-get-files-like-foo-in-my-tarball-on-os-x
Mac OSX 에서 압축한 것들을 다른 플랫폼에서 압축 해제할 때, ._ 파일들이 생성될 때가 있다.
이 때에는 아래와 같은 방법으로 해결할 수 있다.
1) OS X 설정
OS X's tar also knows how to convert the ._ members back to native formats, but the ._ files are usually kept when archives are extracted on other platforms. You can tell tar to not include the metadata by setting COPYFILE_DISABLE to some value:
> COPYFILE_DISABLE=1 tar -cf 2.tar file*
Or, you can insert the lines below in the .bash_profile:
# turn off special handling of ._* files in tar, etc.
COPYFILE_DISABLE=1; export COPYFILE_DISABLE
2) 이미 만들어진 압축파일을 열었을때 생성된 ._ 파일들 제거하기
> find . -type f -name '._*' -delete
'Computer Setup' 카테고리의 다른 글
[Cygwin] Installing CYGWIN + SSHD for remote access through SSH on windows (0) | 2019.05.04 |
---|---|
[Vi & Visual Studio] Compatibility of tab space between vi and visual studio (0) | 2019.04.25 |
[Python] ssh Portforwarding & iPython notebook 서버 접속에서 이용하기 (0) | 2019.04.12 |
[Python&Windows] HDF5 library version mismatched error (0) | 2019.04.12 |
[C/C++] Install GSL library for icc in Mac OS (0) | 2019.04.11 |