How to Share Files Between Mac OSX and Raspberry Pi

Introduction: How to Share Files Between Mac OSX and Raspberry Pi

What we are going to use is the Netatalk

Step 1: Installation


sudo apt-get update

sudo apt-get install netatalk

Step 2: Configuration

-Stop the service:

sudo /etc/init.d/netatalk stop

-Open the configuration file:

sudo nano /etc/netatalk/AppleVolumes.default

-You can edit the mount folder if you wish or leave the default value:

~/ "Home Directory"

-Start the service again

sudo /etc/init.d/netatalk start

Step 3: Open the Finder

Open the Finder on your mac and you will be able to see the raspberry pi with a few seconds in the Navigation Pane.

Use the button "Connect As..." at the right top of the Finder.

6 People Made This Project!


  • Fix It! Contest

    Fix It! Contest
  • Tiny Home Contest

    Tiny Home Contest
  • Water Contest

    Water Contest

11 Discussions


It would be nice to have more than just access to the logged in user's home directory. Sure you can setup other directories but it is no small challenge opening up the compete storage system of the PI over NetATalk... which would allow full modification of the PI from a modern OS and modern tools...

For some reason, I'm unable to write to the external hard drive that's attached to the Pi, from my macbook if I open the networked external drive. It's not write enabled anymore, and I'm not sure why, as nothing has changed (aside from standard updates every so often, running sudo apt-get update and upgrade.)

worked! Thank You!

UPDATE- I got it working. Just needed to use "afp://[Pi IP address]". Updated my applevolumes.default to include the volume for the external hard drive and voila! I'm in business!

I've followed the steps but the Pi isn't showing up from my macbook. I can get the logon prompt if I use "Connect to Server" and type in the IP of the Pi, but it won't let me connect using the "pi" username and the password I've set.

Though I've commented out my external hard drive temporarily, while I'm just working to get it sharing properly to my mac, the contents of my applevolumes.default is:

# The line below sets some DEFAULT, starting with Netatalk 2.1.
:DEFAULT: options:upriv,usedots,rw

# By default all users have access to their home directories.

~/ "Home Directory"

/mnt "Mount"

# /mnt/library "Pi External Hard Drive"

# End of File

Contents of my /etc/fstab is seen in the attached image.

Any ideas??


Thanks for the guide. I gave this a shot and after signing in with `pi:raspberry`. I can see the shares but when I try and access one I get:

> The operation can't be completed because the original item for "home" can't be found.

Followed instructions, netatalk installed fine and is running. Opened up Finder and see my pi3 but cannot connect. Any ideas how to fix?

1 reply

Worked fine but how I share the external drive? I use my RPi3 as a media server and when I add another movie I need to shutdown unplug the hard drive and pug in on my mac to move the files.

Perfect !! Installed painlessly and works like a charm. :-)