TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Set OS X files and folders to self-destruct based on tag

32 点作者 turtleofdeath超过 10 年前

7 条评论

derefr超过 10 年前
If this was based on atime instead of mtime, and was coupled with Time Machine backups, it&#x27;d actually make an interesting form of Hierarchical Storage Management. Files would &quot;expire&quot; from your local disk, but still be restorable.<p>On a tangent, that&#x27;s really what I (and I think most people) want from HSM—not &quot;files canonically being on slow media but being cached on faster media&quot;, but rather &quot;files canonically being on small&#x2F;fast media, and then migrating to slower media when you stop caring about them, as if a garbage-collection pass had occurred, leaving your disk with more space.&quot; Basically, HSM should do automatically what people do manually when they e.g. burn files to optical disks to clear up space.
drhayes9超过 10 年前
For easy-to-use OSX automation I&#x27;m a big fan of Hazel: <a href="http://www.noodlesoft.com/hazel.php" rel="nofollow">http:&#x2F;&#x2F;www.noodlesoft.com&#x2F;hazel.php</a><p>I bet you could set up something similar in it.
kolev超过 10 年前
This is a pretty good idea. Add the ability to tag a file&#x2F;files with TTL from the CLI as well.<p>Source code: <a href="https://github.com/tdlm/os-x-self-destruct" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tdlm&#x2F;os-x-self-destruct</a>
评论 #8358602 未加载
alexisnorman超过 10 年前
This is awesome. I&#x27;ve been waiting for Yosemite&#x27;s JS Automation so I can do some similar things with my downloads (Moving into folders based on tags, etc.) so this is going to be fun to play around with.
bithush超过 10 年前
It mentions it uses srm, is that any use with an SSD with wear levelling etc?
评论 #8357869 未加载
jason_slack超过 10 年前
Interesting idea, can anyone give me ideas for specific use cases in everyday use?
评论 #8357308 未加载
Lai0chee超过 10 年前
Is there no at(1) on OSX?
评论 #8358175 未加载