Zettelkasten Forum


[Zettel Feedback] Turn of DS_Store files on network shares

edited January 2022 in Critique my Zettel

202201282057 Turn of DS_Store files on network shares

#macos #network #samba

Turn of .DS_Store file writing (via https://support.apple.com/en-us/HT208209):

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Especially useful to not get on the nerves of Windows user who usually see the .DS_Store files.

Author at Zettelkasten.de • https://christiantietze.de/

Comments

  • Goes to show how boring my Zettel sometimes are :)

    I genuinely wonder how y'all would tackle this.

    I pasted the link inline instead of making a reference on the fly, like [#20220128dsstr]: "Adjust SMB browsing behavior in macOS", https://support.apple.com/en-us/HT208209 to reduce ceremony. Would force me to fix this if I would include this in a book, which I find unlikely.

    Author at Zettelkasten.de • https://christiantietze.de/

  • Great! Very atomic. Would you consider this a code snippet? Is it on a structure note? It appears to have enough tags and keywords used in context for a future search.

    @ctietze said:

    202201282057 Turn of DS_Store files on network shares

    #macos #network #samba

    Turn of .DS_Store file writing (via https://support.apple.com/en-us/HT208209):

    defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

    Especially useful to not get on the nerves of Windows user who usually see the .DS_Store files.


    @ctietze said:
    Goes to show how boring my Zettel sometimes are :)

    🥱

    I genuinely wonder how y'all would tackle this.

    I've added this to my Mac Setup 202012160954 structure note that I use to jog my memory. When I get new hardware, I use this note and recreate my os environment from 'bare metal.'

    I pasted the link inline instead of making a reference on the fly, like [#20220128dsstr]: "Adjust SMB browsing behavior in macOS", https://support.apple.com/en-us/HT208209 to reduce ceremony. Would force me to fix this if I would include this in a book, which I find unlikely.

    Can you say more about [#20220128dsstr]:? It seems part link, part tag, part citation. I'm not familiar with this type of notation. What does "dsstr" represent? Where does this style of notation originate?

    Will Simpson
    My zettelkasten is for my ideas, not the ideas of others. I don’t want to waste my time tinkering with my ZK; I’d rather dive into the work itself. My peak cognition is behind me. One day soon, I will read my last book, write my last note, eat my last meal, and kiss my sweetie for the last time.
    kestrelcreek.com

  • edited January 2022

    [#...]: ... style reference IDs are citations in MultiMarkdown, which I'm fine with. Like re-usable footnotes that also work well to insert bibliographies in a later stage, e.g. when converting to LaTeX. -- Manual: https://fletcher.github.io/MultiMarkdown-6/syntax/citation.html

    So I wouldn't create a reference manager item for this link (in BibDesk). That's too much hassle for the help page that basically has just this 1 piece of information. So I sometimes cite as usual but generate reference "cite keys" on the fly. Short date + unique string (a mnemonic when I see a couple of them them in the text so I can glance over the (for humans) useless date number). "DS Store" -> "dsstr". And the date of adding the note was yesterday, so "20220128" for 2022-01-28. And where the hash comes from I already revealed.

    So the alternative would be:

    # 202201282057 Turn of DS_Store files on network shares
    #macos #network #samba
    
    Turn of .DS_Store file writing:[#20220128dsstr][]
    
        defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
    
    Especially useful to not get on the nerves of Windows user who usually see the .DS_Store files.
    
    [#20220128dsstr]: "Adjust SMB browsing behavior in macOS", <https://support.apple.com/en-us/HT208209>
    

    It's arguably more flexible for reuse.

    Author at Zettelkasten.de • https://christiantietze.de/

  • Hope not to be taken as excessively pedantic, but since it bears on discoverability, there's a spelling error in the Zettel title - it's off instead of of. ;-)

    Professionally I'm a collaborative pianist & chamber music coach,

  • Oh. I've been investigating toolchains for citations and have settled on Zotero and the Marked2 streaming preview function in The Archive. Marked2 uses the MultiMarkDown engine but must not strictly impose MMD's syntax rules.

    I wonder if BibDesk handles this more strictly?

    Pictured below is a screenshot of the raw note in The Archive followed by a screenshot of the Marked2 preview. The citations have the format of [@schmidt:2018, 53], where the last number is the page where the citation originates. The syntax is a bit different from the MMD documentation.


    Will Simpson
    My zettelkasten is for my ideas, not the ideas of others. I don’t want to waste my time tinkering with my ZK; I’d rather dive into the work itself. My peak cognition is behind me. One day soon, I will read my last book, write my last note, eat my last meal, and kiss my sweetie for the last time.
    kestrelcreek.com

  • @aduncan Good catch! I rephrased this to "Disable" instead in the process :)

    @Will looks like Pandoc to me: https://pandoc.org/MANUAL.html#citations-in-note-styles

    Either way, the gist is the same -- I wouldn't add this Apple help link to the Zotero database but leave it just inside the note.

    Author at Zettelkasten.de • https://christiantietze.de/

  • Yes. I spent time yesterday researching custom export templates with Pandoc. I use The Archive (MMD), Zotero, Marked2, Pandoc for my export toolchain and citation workflow. I am clearer now about the difference between MMD and Pandoc.

    Either way, the gist is the same -- I wouldn't add this Apple help link to the Zotero database but leave it just inside the note.

    I won't add full-blown citations either. Simple links to web pages in this scenario suffice. Simple MMD links are my answer.

    [Adjust SMB browsing behavior in macOS](https://support.apple.com/en-us/HT208209)

    Which Pandoc turns into

    Adjust SMB browsing behavior in macOS

    If the reference were specific to a part of the note, I'd add the link as a footnote, thereby tying content to the reference. All done frictionlessly within the note.

    With Bear, all you have to do is copy a URL as you'd normally do and paste it in Bear, and it automatically formats as [Title of page](URL). Pasting it in The Archive, all you get is the URL. I'm working on a python script/Keyboard Maestro macro to marry the Title with the URL. It will save time and make importing URLs prettier. Adding the Title of the page would give context to the URL destination.

    Will Simpson
    My zettelkasten is for my ideas, not the ideas of others. I don’t want to waste my time tinkering with my ZK; I’d rather dive into the work itself. My peak cognition is behind me. One day soon, I will read my last book, write my last note, eat my last meal, and kiss my sweetie for the last time.
    kestrelcreek.com

Sign In or Register to comment.