Built with from Grav and Hugo
1 tar xvf XXX.tar.xz -C /opt
2 不需要添加J选项,tar会根据压缩包名称识别压缩包格式。
3 所以xvf应该可以作为万能参数了。