<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									macOS - How to hide an individual mounted network share on your Desktop - MacOS X Software				            </title>
            <link>https://www.tweaking4all.com/forum/macos-x-software/macos-how-to-hide-an-individual-mounted-network-share-on-your-desktop/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 21 Jul 2026 01:42:57 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>macOS - How to hide an individual mounted network share on your Desktop</title>
                        <link>https://www.tweaking4all.com/forum/macos-x-software/macos-how-to-hide-an-individual-mounted-network-share-on-your-desktop/#post-5095</link>
                        <pubDate>Tue, 10 Oct 2023 12:56:00 +0000</pubDate>
                        <description><![CDATA[Finder Settings
Most will know how to show or hide network shares on your Mac desktop.Click a Finder window, select the &quot;Finder&quot; - &quot;Settings&quot; menu and under the &quot;General&quot; tab either check &quot;...]]></description>
                        <content:encoded><![CDATA[<p><strong><span style="color: #0000ff">Finder Settings</span></strong></p>
<p>Most will know how to show or hide network shares on your Mac desktop.<br />Click a <strong>Finder</strong> window, select the "<strong>Finder</strong>" - "<strong>Settings</strong>" menu and under the "<strong>General</strong>" tab either check "<strong>Connected servers</strong>" to show share icons on your desktop, or uncheck this option to not show these icons.<br />Downside: this affects all mounted share icons.</p>
458
<p> </p>
<p><span style="color: #0000ff"><strong>Advanced options in Path Finder</strong></span></p>
<p>Applications like <strong><a href="https://www.cocoatech.io" target="_blank" rel="noopener">Path Finder</a></strong> have a more advanced "<strong>Get Info</strong>" option, so when selecting the actual mount path of a share, you can right click that directory and check or uncheck the "<strong>invisible</strong>" option. But of course, not everybody has a copy of <a href="https://www.cocoatech.io" target="_blank" rel="noopener">Path Finder</a> (commercial app).</p>
459
<p> </p>
<p><strong><span style="color: #0000ff">Terminal trick ...</span></strong></p>
<p>Now there is a trick to do this in Terminal - which may not work in old(er) macOS versions, but so far it seems to work in Monterey, Ventura and Sonoma.</p>
<p>Let's say we have a share mounted in /Volumes/AllShares and the Finder option enable to show "Connected Servers" on the Desktop. This will make it that we will see an "AllShares" icon on the desktop.</p>
<p> </p>
<ul>
<li><strong>List Extended attributes</strong></li>
</ul>
<p>When hiding the share icon from the Desktop, I did see that the extended attribute "comp.apple.FinderInfo" of the original directory (/Volumes/AllShares) was given a specific value (note that this value can hold other otpions as well, like the flag colors for example):</p>
<pre contenteditable="false">xattr -lx /Volumes/AllShares 

com.apple.provenance:
00000000  01 00 00 E7 84 53 71 09 CA 67 F4                 |.....Sq..g.|
0000000B
com.apple.FinderInfo:
00000000  00 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00  |................|
00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
00000020</pre>
<p>Of course the rick now ... how do we add this "weird" value as an extended attribute?</p>
<p> </p>
<ul>
<li><strong>Manually set the Share icon on the Desktop to hidden</strong></li>
</ul>
<p>To make a specific share icon hidden (killall Finder to make it visible, and note that color tag will be unset after this):</p>
<pre contenteditable="false">xattr -wx com.apple.FinderInfo "0000000000000000400000000000000000000000000000000000000000000000" /Volumes/AllShares

killall Finder</pre>
<br />
<ul>
<li><strong>Unhide mounted share icon from Desktop</strong></li>
</ul>
<p>To unhide this particular icon we will need to remove the extended attribute "<strong>com.apple.FinderInfo</strong>" from the original directory (/Volumes/AllShares). In Terminal ( "-d" = delete, and again: note that color tag will be unset after this ) :</p>
<pre contenteditable="false">xattr -d com.apple.FinderInfo /Volumes/AllShares</pre>
<p>To make this visible we will need to restart Finder like so (in Terminal):</p>
<pre contenteditable="false">killall Finder</pre>
<p> Took me quite a bit of time to figure this out ,... so I hope it will be useful to someone.</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/macos-x-software/">MacOS X Software</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/macos-x-software/macos-how-to-hide-an-individual-mounted-network-share-on-your-desktop/#post-5095</guid>
                    </item>
							        </channel>
        </rss>
		