Search found 192 matches

by JayB
Sun Apr 04, 2021 11:12 pm
Forum: Support
Topic: Spotlight search in NC #2: tags, XAs etc.
Replies: 4
Views: 4966

Re: Spotlight search in NC #2: tags, XAs etc.

Ah, thank you. So you can't input the kMDItem keys directly into NC's search field, which means you would have to load a different config every time you want to do an alternate search, right? E.g. like so… with the mv command substituting the main config for a prepared config that contains the searc...
by JayB
Sun Apr 04, 2021 9:19 pm
Forum: Support
Topic: Spotlight search in NC #2: tags, XAs etc.
Replies: 4
Views: 4966

Re: Spotlight search in NC #2: tags, XAs etc.

Hmm… there aren't any explanations in the config.json. I assume I have to create something like this:

Code: Select all

{
    "filePanel": {
        "spotlight": {
        	"format": "foo"
        },
But I can't say how to modify foo to have an actual effect. (?)
by JayB
Fri Apr 02, 2021 9:37 pm
Forum: Support
Topic: Spotlight search in NC #2: tags, XAs etc.
Replies: 4
Views: 4966

Spotlight search in NC #2: tags, XAs etc.

Split from the other topic… I think this is important enough to be put in its own topic. It seems that Nimble Commander is unable to search for XAs like kMDItemUserTags with Spotlight, i.e. searching for "foo" works, but not "tag:foo". Any plans to implement expanded Spotlight search incl. tag/XA se...
by JayB
Thu Apr 01, 2021 9:55 pm
Forum: Support
Topic: Spotlight search in NC #1: scripted temporary panel
Replies: 2
Views: 3204

Re: Spotlight search in NC: (1) scripted temporary panel / (2) tags & XAs

You could always create a workaround and use Keyboard Maestro:

Image
by JayB
Thu Apr 01, 2021 8:33 am
Forum: Support
Topic: Spotlight search in NC #1: scripted temporary panel
Replies: 2
Views: 3204

Spotlight search in NC #1: scripted temporary panel

Is there a way to tell NC to create a temporary panel in the current panel and search for a specific text string with Spotlight? Something akin to AppleScript? E.g.: tell application "Nimble Commander" to spotlightsearch with search "foo" If this isn't possible, are there any plans to implement ways...
by JayB
Mon Mar 29, 2021 9:50 am
Forum: Development
Topic: How does NC determine if a file is a firmlink?
Replies: 4
Views: 22822

Re: How does NC determine if a file is a firmlink?

Strike the strike, because there is an extended flag, i.a. for synthetic links. Feature request now here: viewtopic.php?f=6&t=574
by JayB
Mon Mar 29, 2021 9:49 am
Forum: Ideas and Feature Requests
Topic: Extended flags (EF): third column in File Attributes
Replies: 2
Views: 3556

Extended flags (EF): third column in File Attributes

In Command > File Attributes we have two columns "User flags" (UF) and "System flags" (SF) in the second section. It would be nice to have a third column for the macOS "Extended flags" (EF), which afaik would be read-only. The relevant section in stat.h is this: https://github.com/apple/darwin-xnu/b...
by JayB
Wed Mar 24, 2021 7:41 am
Forum: Development
Topic: How does NC determine if a file is a firmlink?
Replies: 4
Views: 22822

Re: How does NC determine if a file is a firmlink?

Strike the synthetic.conf question: the man page says that these are "virtual symbolic links", i.e. no firmlinks at all.
by JayB
Mon Mar 22, 2021 8:44 pm
Forum: Development
Topic: How does NC determine if a file is a firmlink?
Replies: 4
Views: 22822

Re: How does NC determine if a file is a firmlink?

Ah, interesting. Thank you. The man page of getattrlist() says that it's like a "seriously enhanced version of stat(2)". So it seems that Apple simply didn't expand the stat command to include all the latest flags. :( By the way, would this also work for synthetic firmlinks the user has added to /et...
by JayB
Mon Mar 22, 2021 10:49 am
Forum: Development
Topic: How does NC determine if a file is a firmlink?
Replies: 4
Views: 22822

How does NC determine if a file is a firmlink?

The file /usr/share/firmlinks contains all the static firmlinks of macOS. XNU's /sys/stat.h contains an SF_FIRMLINK flag: https://github.com/apple/darwin-xnu/blob/main/bsd/sys/stat.h#L512 #define SF_FIRMLINK 0x00800000 /* file is a firmlink */ Now, let's look at /Applications as an example, which is...