Tar

什麼是 tar 錯誤消息“無法打開:無效參數”

  • March 8, 2017

我從這裡下載 xcrysden 源包http://www.xcrysden.org/download/xcrysden-1.5.60.tar.gz

然後我使用

tar zxvf xcrysden-1.5.60.tar.gz

但是,如圖tar zxvf xcrysden-1.5.60.tar.gz|grep tar:所示,我遇到了幾個錯誤

tar: xcrysden-1.5.60/examples/XSF_Files/c2h4\:Ag001.xsf: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/TclTk\:LICENSE: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/Togl\:LICENSE: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/Mesa\:LICENSE: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/Meschach\:LICENSE: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/LGPL\:LICENSE: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/GL2PS\:LICENSE: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/FFTW3\:LICENCE: Cannot open: Invalid argument
   tar: xcrysden-1.5.60/otherLICENSES/BWidget\:LICENSE: Cannot open: Invalid argument
   tar: Exiting with failure status due to previous errors

這些消息是什麼意思?為什麼提取不完成?

您要提取到的磁碟可能已格式化為 FAT*。FAT* 文件系統不允許:出現在目錄條目(文件名)中。為了提取這些文件,您需要提取到文件系統支持此類文件名的不同磁碟或分區*——*常見的包括:

  • btrfs
  • 分機3
  • 分機4
  • FFS
  • HFS Plus(但不是普通的 HFS)
  • NTFS
  • XFS

引用自:https://unix.stackexchange.com/questions/349914