Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will stop at nothing to reach your objective, but only because your brakes are defective.


comp / comp.sys.mac.misc / Smart Folder/Saved Search does not work properly on hidden files (Late 2013 MacBook Pro, OS X 10.13 High Sierra)

SubjectAuthor
* Smart Folder/Saved Search does not work properly on hidden files (Late 2013 MacBDudley Brooks
`- Re: Smart Folder/Saved Search does not work properly on hidden files (Late 2013 Jolly Roger

1
Subject: Smart Folder/Saved Search does not work properly on hidden files (Late 2013 MacBook Pro, OS X 10.13 High Sierra)
From: Dudley Brooks
Newsgroups: comp.sys.mac.misc
Organization: Run For Your Life! ... it's a dance company
Date: Mon, 3 Jun 2024 21:16 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dbrooks@runforyourlife.org (Dudley Brooks)
Newsgroups: comp.sys.mac.misc
Subject: Smart Folder/Saved Search does not work properly on hidden files
(Late 2013 MacBook Pro, OS X 10.13 High Sierra)
Date: Mon, 3 Jun 2024 14:16:34 -0700
Organization: Run For Your Life! ... it's a dance company
Lines: 31
Message-ID: <v3lbrk$281g$1@dont-email.me>
Reply-To: dbrooks@runforyourlife.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 03 Jun 2024 23:16:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="da97821e790aa59815939b06063a2420";
logging-data="73776"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HRJTx4Xg6rNu53DzQOfhkIFJj6SuddIg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0)
Gecko/20100101 Thunderbird/60.9.1
Cancel-Lock: sha1:Z9dsC9fk/SidG0dPLktBhplK5qo=
Content-Language: en-US
X-Mozilla-News-Host: news://news.eternal-september.org:119
View all headers

I have several files which I hid using

chflags hidden

They work properly in Finder: They originally do not show up, but
shift-control-period toggles them between showing and not showing.

I next made a Smart Folder/Saved Search:

[All] of the following are true
[File visibility] [Visible items]
<further criteria>

EVERYTHING satisfying <further criteria> shows up -- visible files AND
invisible files!

As an experiment, I also made

[All] of the following are true
[File visibility] [Invisible items]
<further criteria>

NOTHING shows up -- not visible files OR invisible files! A completely
blank list!

What is wrong?

--
Dudley Brooks, Artistic Director
Run For Your Life! ... it's a dance company!
San Francisco

Subject: Re: Smart Folder/Saved Search does not work properly on hidden files (Late 2013 MacBook Pro, OS X 10.13 High Sierra)
From: Jolly Roger
Newsgroups: comp.sys.mac.misc
Organization: People for the Ethical Treatment of Pirates
Date: Mon, 3 Jun 2024 21:47 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: jollyroger@pobox.com (Jolly Roger)
Newsgroups: comp.sys.mac.misc
Subject: Re: Smart Folder/Saved Search does not work properly on hidden
files (Late 2013 MacBook Pro, OS X 10.13 High Sierra)
Date: 3 Jun 2024 21:47:03 GMT
Organization: People for the Ethical Treatment of Pirates
Lines: 43
Message-ID: <lc6runF3j57U1@mid.individual.net>
References: <v3lbrk$281g$1@dont-email.me>
X-Trace: individual.net b9euJ+z9o1rjeE0WrbOsNABsXNH38ahvVl/wTbcW2mdyLw8HsE
Cancel-Lock: sha1:QlbaEJUk76e0RbtlmC0ng68bfbY= sha256:uj3/Opv/Ps+G5vuY1Rq1aM3HBkqy3fNJEeveMGzd+y8=
Mail-Copies-To: nobody
X-Face: _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1<n@LQ!aZ7vLO_nWbK~@T'XIS0,oAJcU.qLM
dk/j8Udo?O"o9B9Jyx+ez2:B<nx(k3EdHnTvB]'eoVaR495,Rv~/vPa[e^JI+^h5Zk*i`Q;ezqDW<
ZFs6kmAJWZjOH\8[$$7jm,Ogw3C_%QM'|H6nygNGhhl+@}n30Nz(^vWo@h>Y%b|b-Y~()~\t,LZ3e
up1/bO{=-)
User-Agent: slrn/1.0.3 (Darwin)
View all headers

On 2024-06-03, Dudley Brooks <dbrooks@runforyourlife.org> wrote:
> I have several files which I hid using
>
> chflags hidden
>
> They work properly in Finder: They originally do not show up, but
> shift-control-period toggles them between showing and not showing.
>
> I next made a Smart Folder/Saved Search:
>
> [All] of the following are true
> [File visibility] [Visible items]
> <further criteria>
>
> EVERYTHING satisfying <further criteria> shows up -- visible files AND
> invisible files!
>
> As an experiment, I also made
>
> [All] of the following are true
> [File visibility] [Invisible items]
> <further criteria>
>
> NOTHING shows up -- not visible files OR invisible files! A completely
> blank list!
>
> What is wrong?

It seems the "File visibility" criteria is for whether you want dot
files (files whose names begin with a period character) to appear in
search results. It doesn't seem to consider files whose `hidden`
extended attribute is set. When you use the `chflags` command-line tool
you are setting an extended attribute on the file in question, which is
different than adding a dot to the beginning of the name. I'm not sure
whether the way search works is an oversight or just the way it was
designed to work. Personally, I consider it an oversight and would
encourage submitting feedback about it if it's something you care about.

--
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

1

rocksolid light 0.9.8
clearnet tor