User Tools

Site Tools


code:work:lvisf:2017sharedmacdir:start

Table of Contents

Sharing a Mac Folder

cifs

On the Mac machine:

(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:

  • 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

code/work/lvisf/2017sharedmacdir/start.txt · Last modified: 2017/06/26 01:39 by david