Dsstore
A remote-hg mirror of the Perl project to generate .DS_Store files (even on non-MacOSX), based on https://wiki.mozilla.org/DS_Store_File_Format
Install / Use
/learn @dscho/DsstoreREADME
Mac::Finder::DSStore provides routines for reading and writing the .DS_Store files generated by the Macintosh Finder. Files can be read, created from scratch, or some simple manipulations are possible.
For more information on the format of the files, see the notes in the accompanying POD file, installed as Mac::Finder::DSStore::Format.
There are some examples in the examples/ directory:
examples/dumprecs.pl A minimal example of reading the DSDB records and printing them to stdout.
examples/circle.pl Demonstrates creating a DS_Store file from scratch.
examples/dsstore_dump.pl Attempts to dump a store file's records in a more human-readable format (specifically, as a perl script which will recreate the store file).
INSTALLATION
This uses the standard(?) Build.PL method:
perl Build.PL ./Build ./Build install
You'll need Module::Build installed. Alternately, just copy the .pm files into the appropriate places in your include path. The DSStore module itself is pure Perl and should run on any system, but several of the demos require the Mac::Files and Mac::Memory modules for access to Macintosh system library calls to manipulate alias records.
HACKING
There is a Mercurial repository for this module at http://www.hhhh.org/src/hg/dsstore/
Feel free to contribute comments or patches via email.
Wim Lewis / wiml@hhhh.org
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
