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.

How do you transfer a file from a local Mac to a remote Linux machine

share|improve this question
10  
More info please? Do you have file sharing set up anywhere? What's your setup like? What's going on? Where am I? OH GOD MAKE IT STOP –  jtbandes Aug 12 '10 at 4:50
8  
Load it into a big cannon, and fire it in the Linux machine's general direction. I imagine your linux machine as Optimus Prime (wasn't he running linux?), and autobots generally have good enough reflexes to catch an airborne file. –  sml Aug 12 '10 at 6:47
    
@scottl - Best. reply. EVER! –  Toby Aug 12 '10 at 7:58

4 Answers 4

up vote 10 down vote accepted

What options do you have to connect to the remote Linux machine?

FTP? Use an FTP Client.
SSH? Use an FTP Client that support SFTP or use scp
Web? Host it somewhere and use wget or curl

The possibilities are endless.

share|improve this answer
    
In the end I used SCP with a private key. –  Ankur Sep 14 '10 at 3:51

You can use an IP over Carrier Pigeon setup. Be careful of dropped bits (literally).

share|improve this answer
1  
Hmm, i'd have given you a point if you linked to the official RFC :) –  Rich Homolka Aug 12 '10 at 15:31
rsync --partial --progress -avzr --exclude '.DS_Store' you@macip:path you@linuxip:path

Explanation:

  • --partial: don't delete partially transferred files if stopped
  • --progress: show progress during sync
  • a: archive
  • v: verbose
  • z: compression
  • r: recursive
  • --exclude '.DS_Store': skip DS_Store files
share|improve this answer

http://en.wikipedia.org/wiki/Floppy_disk + Physical movement = Super User Solution

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.