I’m moving things from one machine to another and I setup an AFP share and not an SMB share on a mac where I need to transfer my files.. I could just turn on SMB.. but whats the fun in that?
To install AFP support for Ubuntu you must first install these packages:
sudo apt-get install libfuse-dev libreadline-dev libgcrypt-dev libgmp3-dev
Then you need to download the AfpFs-Ng source files from sourceforge and compile them.
you unzip those files into a directory, and cd into it, then type::
sudo make install
Then to mount your share you type, as a regular user:
mount_afp 'afp://user:password@servername/sharename' /placewhereyouwannamountit/
To unmount you type:
afp_client unmount /mountname/