Comment on Show HN: Set OS X files and folders to self-destruct based on tagComments−kolev11yThis is a pretty good idea. Add the ability to tag a file/files with TTL from the CLI as well.Source code: https://github.com/tdlm/os-x-self-destruct−scott_karana11yAdd 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−kolev11yI'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
Comments
This is a pretty good idea. Add the ability to tag a file/files with TTL from the CLI as well.
Source code: https://github.com/tdlm/os-x-self-destruct
You can use the OS's standard facilities to do what you want: see `xattr` and `mdfind`.[1] There's also `tag`[2]
I'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