sudo install -t 是什么意思?

sudo install -t 是什么意思?

在网站上https://docs.drone.io/runner/exec/installation/linux/,有安装指南:

$ curl -L https://github.com/drone-runners/drone-runner-exec/releases/latest/download/drone_runner_exec_linux_amd64.tar.gz | tar zx
$ sudo install -t /usr/local/bin drone-runner-exec  

我想问一下,这是什么sudo install -t意思?

答案1

手册页非常install有启发性:

-t, --target-directory=DIRECTORY

copy all SOURCE arguments into DIRECTORY

看一看:man install

相关内容