[英]SwiftMailer: can't open .tar.gz archives on Linux
我從http://swiftmailer.org/downloads/archive(tar.gz )下載了幾個版本,但檔案管理器說
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
當我嘗試打開它時。 有任何想法嗎?
嘗試:
gzip -d file.tar.gz
然后:
tar -xf file.tar
取自:
http://fosshelp.blogspot.com.au/2012/04/solution-tar-this-does-not-look-like.html
或者只是tar xzf file.tar.gz
更容易,更快,並且占用更少的磁盤空間。
更新:
我不明白為什么這行不通,但是先解壓縮才行。 在這種情況下,最好:
gzip -dc file.tar.gz | tar xzf -
至少要使用管道以避免解壓縮並從大容量存儲中讀取。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.