<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SMB on Ray Mah&#39;s Blog</title>
    <link>/tags/smb/</link>
    <description>Recent content in SMB on Ray Mah&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 23 Dec 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="/tags/smb/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mapping an SMB Share on a Mac via Terminal</title>
      <link>/posts/mapping-smb-share-on-a-mac/</link>
      <pubDate>Tue, 23 Dec 2025 00:00:00 +0000</pubDate>
      <guid>/posts/mapping-smb-share-on-a-mac/</guid>
      <description>&lt;p&gt;To map an SMB share on a Mac via the terminal:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Create a new folder to act as the mount point.  This is essentially a proxy for the folder on the remote machine.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-BASH&#34; data-lang=&#34;BASH&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mkdir ~/share-home&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;Enter this command to link the new folder to the share.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-BASH&#34; data-lang=&#34;BASH&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mount -t smbfs //user@share-host/share-name ~/share-home&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;user&lt;/code&gt;: your SMB user name on the machine hosting the SMB share.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;share-host&lt;/code&gt; : The IP address or network name of the SMB host machine.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;share-name&lt;/code&gt; : The name of the SMB share.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;~/share-home&lt;/code&gt; : The name of the folder we created in step 1.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;After that you can access the files in the share from the folder created in step 1.  Note that this is temporary and will not persist after a reboot.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
