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

link|improve this question
9  
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
feedback

5 Answers

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.

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

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

link|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
feedback
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
link|improve this answer
feedback

I prefer rsync, but you can try using flash drive )

link|improve this answer
The flash drive wouldn't be that useful with a "remote" Linux machine. – CarlF Aug 12 '10 at 14:14
1  
@CarlF: You forget about Sneakernet – tig Aug 12 '10 at 16:16
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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