Search code examples
linuxfile-transfer

Transfer files from terminal in Linux (ubuntu)


the deal is to transfer some files from my computer to a server located in my university, assuming the server is located in my.server.com.mx and my user name is user123, which commands do I need to transfer my file?


Solution

  • scp file1 file2 file3 [email protected]:
    

    or if installed :

    rsync -avP file1 file2 file3 [email protected]:
    

    if no path is specified after the :, the files will reside in the remote HOME : /home/user123