Via the shell I can think of a couple ways to get the info:
If on a server:
sharing -l
Server or client
dscl . list /SharePoints
Take that list of share points and run this per sharepoint
dscl . read /SharePoints/
directory_path
Hope this
Greg and Ken:
Thanks a lot for answering my question about shared folders, that's exactly
what I needed!
Best,
Leo
> From: Greg Nelson
> Date: Wed, 17 Nov 2010 00:01:24 -0500
> To: Leo ,
> Subject: Re: Detecting shared folders
> From: Ken Thomases
> Date: Wed, 17
On Nov 15, 2010, at 4:01 AM, Leo wrote:
> I wonder if it's possible to detect a shared folder? That is a folder that
> is shared via File Sharing.
It would seem to be possible, since the Finder puts a banner in the window for
shared folders.
> Am I missing something obvious?
Not obvious, no.
Hi,
I wonder if it's possible to detect a shared folder? That is a folder that
is shared via File Sharing.
Am I missing something obvious?
I couldn't find an appropriate folder attribute in either Cocoa or
AppleScript. Or any other way to distinguish a shared folder from other
folders.
I also a