简体   繁体   English

在 Linux (ubuntu) 中从终端传输文件

[英]Transfer files from terminal in Linux (ubuntu)

交易是将一些文件从我的计算机传输到位于我大学的服务器,假设服务器位于 my.server.com.mx 并且我的用户名是 user123,我需要哪些命令来传输我的文件?

scp file1 file2 file3 user123@my.server.com.mx:

or if installed :或者如果安装:

rsync -avP file1 file2 file3 user123@my.server.com.mx:

if no path is specified after the : , the files will reside in the remote HOME : /home/user123如果在:之后没有指定路径,则文件将驻留在远程HOME/home/user123

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM