/bin/rm -f "$(tar ztf /path/to/file.tar.gz)"这个没有成功,可以改为 tar ztf /path/to/file.tar.gz | xargs -i rm -rf {}
评论
分享到微信
打开微信,点击顶部的“╋”, 使用“扫一扫”将网页分享至微信。