Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a folder on a Linux server and I have to transfer that file from there to my Mac desktop. I have never done it.

What is the best way to do that? I am trying to use terminal but is there any tool like WinSCP to do that?

share|improve this question

migrated from stackoverflow.com Dec 11 '12 at 17:32

This question came from our site for professional and enthusiast programmers.

    
In addition to the answers below, consider installing mc (aka Midnight Commander) to run on top of ssh. It behaves like nc on windows. –  ott-- Dec 11 '12 at 20:53
add comment

3 Answers

WinSCP is a SFTP/SCP/FTP client for Windows.

Similar clients exist for the Mac - good examples are Transmit and Cyberduck.

Transmit and Cyberduck understand FTP, SFTP and WebDAV but it entirely depends how the linux server is set up whether you can access that particular folder with one of those services.

share|improve this answer
add comment
  1. Install openSSH on the linux server. Assuming a debian based distribution, do this:

    sudo apt-get install ssh
    
  2. Open a terminal and copy the files:

    i. From Linux to Mac (run from the Linux machine):

    scp filename.txt user@remote_server:/Users/YOURNAME/
    

    ii. From Linux to Mac (run from the Mac):

    scp user@remote_server:/Users/YOURNAME/filename.txt .
    

The general syntax of the scp command is the following.

  1. To copy a file from the local server to the remote one:

    scp FILENAME user@remote_server:/remote/path/FILENAME
    
  2. To copy a file from the remote server to the local one:

    scp user@remote_server:/remote/path/FILENAME /local/path/FILENAME
    
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.