0

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

3
  • 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
10

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.

1
  • In the end I used SCP with a private key.
    – Ankur
    Sep 14 '10 at 3:51
2

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

1
  • 1
    Hmm, i'd have given you a point if you linked to the official RFC :) Aug 12 '10 at 15:31
2
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
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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