====== Sharing a Mac Folder ====== ===== cifs ===== **On the Mac machine:** * Share the target folder using the tips here: [[https://support.apple.com/kb/PH18707?locale=en_US]] (These steps lifted directly from above link) * Open Sharing preferences if it isn’t already open (choose Apple menu > System Preferences, then click Sharing). * Select the File Sharing checkbox, then click Options. * Select “Share files and folders using SMB.” * Select the checkbox next to the user account that will be used to share files with Windows users, enter the password for that user, then click OK. * Click Done. * Open Network preferences, select your active connection, then click Advanced. * Click the WINS tab, then enter the workgroup name used by the Windows computer. * If you don’t know the workgroup name, on the Windows computer open Control Panel > System and Security > System. (Windows computers normally use either WORKGROUP or MSHOME.) * Click OK, then click Apply. * **NOTE:** Make sure the share is write-able by the user, I think it might be by default **On the Linux machine:** * CentOS Link CIFS Help: [[https://wiki.centos.org/TipsAndTricks/WindowsShares]] * Make a directory to write mount the share sudo mkdir /media/macshare * Modify **/etc/fstab** and add as an example //192.168.0.XX/quicklook /media/macshare cifs user=USERNAME,pass=PASSWORD,uid=LOCALUSER 0 0 ===== rsync ===== * Could just rsync the files every minute after creating them locally. I actually like this, except we're going to have to write the files locally... and I would rather just write them over the network to a shared drive and be done with it not taking up local drive space and not competing with the primary data files for the drive's attention. ===== sshfs ===== This looks really simple, maybe a bit slow... look at the weaker encryption maybe for speed. Or just use CIFS or something simple... * [[http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id]] password less mounting -o ssh_command="ssh -Cc arcfour256" * [[https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh]] * [[https://amaral.northwestern.edu/resources/guides/mounting-remote-folder-os-x-over-ssh-yosemite]] * [[https://www.vultr.com/docs/mount-a-remote-file-system-with-sshfs-on-centos-6]]