tar提取取决于文件名吗?
我经常使用wget从sourceforge.net下载tarball。 然后将下载的文件命名,例如 SQliteManager-1.2.4.tar.gz?r=http:%2F%2Fsourceforge.net%2Fprojects%2Fsqlitemanager%2Ffiles%2F&ts=1305711521&use_mirror=switch 当我尝试 tar xzf SQliteManager-1.2.4.tar.gz\?r\=http\:%2F%2Fsourceforge.net%2Fprojects%2Fsqlitemanager%2Ffiles%2F\&ts\=1305711521\&use_mirror\=switch 我收到以下错误消息: tar (child): Cannot connect to SQliteManager-1.2.4.tar.gz?r=http: resolve failed gzip: stdin: unexpected end of file tar: Child returned status 128 tar: Error is not recoverable: exiting now 将文件重命名为foo.tar.gz解压缩后效果完美。 有没有一种方法,在提取之前我不必每次都重新命名目标文件?