Administrator@WIN-5B2ST4S1K5H MINGW64 ~/Documents/spark
$ ls
spark-3.5.4-bin-hadoop3.tgz spark-3.5.4-bin-without-hadoop.tgz
Administrator@WIN-5B2ST4S1K5H MINGW64 ~/Documents/spark
$ tar -x spark-3.5.4-bin-hadoop3.tgz ./
tar: Refusing to read archive contents from terminal (missing -f option?)
tar: Error is not recoverable: exiting now
Administrator@WIN-5B2ST4S1K5H MINGW64 ~/Documents/spark
$ tar -xf spark-3.5.4-bin-hadoop3.tgz ./
tar: .: Not found in archive
tar: Exiting with failure status due to previous errors
Administrator@WIN-5B2ST4S1K5H MINGW64 ~/Documents/spark
$ tar -xf spark-3.5.4-bin-hadoop3.tgz
Administrator@WIN-5B2ST4S1K5H MINGW64 ~/Documents/spark
$ ls
spark-3.5.4-bin-hadoop3/ spark-3.5.4-bin-without-hadoop.tgz
spark-3.5.4-bin-hadoop3.tgz
标签:bin,Git,tar,Windows,tgz,3.5,hadoop3,spark
From: https://www.cnblogs.com/used-conduit-onion/p/18671374