• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Toggle shared status of files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toggle shared status of files?


  • Subject: Re: Toggle shared status of files?
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 19 Jan 2001 00:03:48 -0800

On 1/18/01 11:23 PM, "Allen Watson" <email@hidden> wrote:

> I frequently need to copy about a dozen files from my company's Mac to work
> on changes to the database. On the office system the files are shared over a
> network. I want to turn that off when I work on my copies. The only way I
> know to do that now is one file at a time via the Get Info window.
>
> I'd like to find a way using a script (working on Finder selection or drag
> and drop), but so far I'm stumped. I can't see anything in Finder or
> Standard Additions dictionaries that looks like it would work. Akua Sweets
> has an "extended info for" command that lets me get the status, but I can't
> see any way to set it.
>
> Any help here?


How about making their containing folder(s) non-sharable (in the Finder) for
the duration?

Finder Dictionary:

Class sharable container : (inherits from container) A container that may be
shared (disks and folders)
Plural form:
sharable containers
Properties:
owner international text -- the user that owns the container (file
sharing must be on to use this property)
group international text -- the user or group that has special access to
the container (file sharing must be on to use this property)
owner privileges sharing privileges -- the see folders/see files/make
changes privileges for the owner (file sharing must be on to use this
property)
group privileges sharing privileges -- the see folders/see files/make
changes privileges for the group (file sharing must be on to use this
property)
guest privileges sharing privileges -- the see folders/see files/make
changes privileges for everyone (file sharing must be on to use this
property)
privileges inherited boolean -- Are the privileges of the container
always the same as the container in which it is stored? (file sharing must
be on to use this property)
mounted boolean [r/o] -- Is the container mounted on another machine's
desktop? (file sharing must be on to use this property)
exported boolean [r/o] -- Is the container a share point or inside a
share point, i.e., can the container be shared? (file sharing must be on to
use this property)
shared boolean -- Is the container a share point, i.e., is the container
currently being shared? (file sharing must be on to use this property)
protected boolean -- Is the container protected from being moved,
renamed and deleted? (file sharing must be on to use this property)


[It might also be worth trying out 'apply catalog info' in Akua with an
altered record including the properties you want to reset from 'extended
info for' - sometimes this works, even though it says it's to be used with
'basic info for'.]

--
Paul Berkowitz


References: 
 >Toggle shared status of files? (From: Allen Watson <email@hidden>)

  • Prev by Date: Re: ASCII
  • Next by Date: Re: OSAX in Tells
  • Previous by thread: Toggle shared status of files?
  • Next by thread: Re: Toggle shared status of files?
  • Index(es):
    • Date
    • Thread