3 ms·
> Add the ability to tag a file/files with TTL from the CLI as well. You can use the OS's standard facilities to do what you want: see `xattr` and `mdfind`.[1]
by scott_karana 12y ago
> Add the ability to tag a file/files with TTL from the CLI as well.
You can use the OS's standard facilities to do what you want: see `xattr` and `mdfind`.[1] There's also `tag`[2]
1 http://apple.stackexchange.com/questions/93979/are-the-osx-mavericks-tags-visible-from-the-command-line
2 https://github.com/jdberry/tag
- kolev 12y agoI'm using tag, too, but it's in C, so, I suggested xattr to the author. I submitted an issue already (first!): https://github.com/tdlm/os-x-self-destruct/issues/1 https://github.com/tdlm/os-x-self-destruct/issues/1