Results 1 to 8 of 8

Thread: file sharing between ubuntu and a Mac

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Beans
    4

    Question file sharing between ubuntu and a Mac

    Hello,

    I hope you can help me. I'm trying to transfer the last year's photo albums from my Ubuntu machine (12.04 LTS) to an iMac (10.8.4). I don't know how can I do that (it's about 45 GB of pictures that I want to share). What do you suggest? My computer does not have Bluetooth neither CD/DVD drive. I tried to upload the files to a cloud storage server but it is sloooooooooow and it would take years.

    Any ideas?

    Thank you in advance for your cooperation.

  2. #2
    Join Date
    Jun 2011
    Location
    Oreland, PA
    Beans
    30
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: file sharing between ubuntu and a Mac

    Have you looked at BitTorrent Sync? I have not used it personally, but I have heard good things about it.

    http://labs.bittorrent.com/experiments/sync.html

    http://askubuntu.com/questions/28468...ittorrent-sync

  3. #3
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,445
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: file sharing between ubuntu and a Mac

    If both computers are networked, you can install the Samba server on the Ubuntu machine and access it on the Mac.

    The "system-config-samba" package will install Samba and give you a configuration utility to help you set up your shared folder.

    When that is done, you can access the shared folder on the Mac by using its network browsing abilities - sorry I can't be more specific, I'm not a Mac user - but it can definitely browse networks and find your Samba server.

    If the computers are not on the same wired or wireless network, use a USB hard drive.

  4. #4
    Join Date
    Mar 2006
    Beans
    308
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: file sharing between ubuntu and a Mac

    You could also set up a ftp server on the ubuntu machine and move everything over from the mac.

  5. #5
    Join Date
    Dec 2009
    Beans
    5,357

    Re: file sharing between ubuntu and a Mac

    I got 2 happy customers with this technique - let's see if I can get one more:

    On Ubuntu:

    [1] Open up a terminal and change directories to the parent folder that contains the Pictures, for example if they are in the Pictures folder of your home directory:
    Code:
    cd Pictures
    [2] Now run the following command:
    Code:
    python -m SimpleHTTPServer
    [3] On the OSX machine open your browser ( I'm talking about your Internet browser not Finder ) and point it to:
    Code:
    http://192.168.0.100:8000
    Change 192.168.0.100 to the ip address of the Ubuntu machine. Note: Since this is a Linux-OSX network you can also use the Avahi/Bonjour naming convention, for example:
    Code:
    http://ubuntu-host-name.local:8000
    As long as you don't happen to have an index.html file in that directory in Ubuntu it should simply list the contents of Pictures. Now you can use the browser to download the files to OSX.

    After it's done downloading you can stop the temporary http server on Ubuntu by issuing a Ctrl+C.
    Last edited by Morbius1; July 4th, 2013 at 10:53 PM.

  6. #6
    Join Date
    Sep 2006
    Beans
    7,247
    Distro
    Lubuntu Development Release

    sftp

    Quote Originally Posted by cub View Post
    You could also set up a ftp server on the ubuntu machine and move everything over from the mac.
    You probably meant SFTP instead of old FTP.

    SFTP clients are built into both OS X and Ubuntu. All you need to do is turn on the SSH server on one of the machines. You can do that in System Preferences->Sharing->Remote Login in OS X. Or you can do it by adding the package 'openssh-server' to your Ubuntu machine. After that is in place you can connect and transfer the files. In some ways, it is better to turn on (at least temporarily) sharing from OSX because Ubuntu has better clients. For example, you can connect from your file manager by pressing ctrl-L and then entering the URI for the server.

  7. #7
    Join Date
    Dec 2009
    Beans
    5,357

    Re: file sharing between ubuntu and a Mac

    Wouldn't you know it I left out a part in my post. THe syntax is:
    Code:
    http://192.168.0.100:8000
    I left out the "http:" part - getting sloppy here, sorry.

    I fixed it in my previous post.

  8. #8
    Join Date
    Jun 2011
    Location
    North Carolina
    Beans
    443
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: sftp

    Quote Originally Posted by Lars Noodén View Post
    SFTP clients are built into both OS X and Ubuntu. All you need to do is turn on the SSH server on one of the machines. You can do that in System Preferences->Sharing->Remote Login in OS X.
    +1

    On my protected home network, I have a legacey eMac set as a FTP file server - the service that is built into osX - activated in osX's System Settings. I access the eMac file server from Linux and Windows machines using FileZilla

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •