There was one another question that was the same as mine but the answers were from 2010, so my question is: How can I download a folder as a whole and not a single file? I want to download my music folder from another computer. Is that in any way possible?
|
|
Some methods (click the links for more information):
If you have acces to both machines NFS might be the best option. |
|||||||||||||
|
|
There are a couple of ways to accomplish this. One is to mount the remote directory. This can be done via samba shares (if the remote host is running windows this is quite simple). If the remote host is running Linux then you could either mount the remote directory using sshfs or simply connect to it with an FTP client such as filezilla (filezilla can be set to connect over ssh which is often simpler) and download the entire directory that way. |
|||
|
|
|
Using command line utility scp (which requires openssh-server is installed on the remote system and openssh-client is installed on your system) you can copy a remote directory and all its files (and subdirectories), if you can log into that remote system with appropriate privileges, as follows: Let's say you know, for the remote system, the ip address, a username/password, and the path to the folder on the system. Let's assume:
Top move that folder to your current drectory:
Enter the password when prompted and the folder is copied. Note the period (".") on the end, which means scp to the current directory |
||||
|
|