linux - Is there a command parameter to specify the path for rz -


i use rz command in ssh client upload files remote app server a. if log in remote server , in path /home/xxx/. want upload file under path '/home/xxx/work'.so rzcommand, there command parameter specify a's path uploaded file put?

use compound command on remote side:

ssh foo@bar "cd work && rz  ..." 

Comments