标记文件系统而不是目录?

发布于 2024-08-24 02:32:03 字数 168 浏览 4 评论 0原文

在现代文件系统中,有文件和目录。在一个目录中,有子目录和文件。

我的问题是,如果所有文件都放在一个地方并且每个文件都可以标记不是更好吗?所以每个文件都有标签,就像 Stack Overflow 中一样:每个问题都有标签。主要优点是搜索速度可以更快。

你的意见是什么?对你来说,这样更舒服吗?

In the modern file systems there are files and directories. In a directory, there are sub-directories and files.

My question is, wouldn't it be better if all the files were in one place, and each file could tagged? So each file have tags, just like in Stack Overflow: every question has tags. The main advantage, is that searching could be much more faster.

What is your opinion? For you, was it more comfortable?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

谁的年少不轻狂 2024-08-31 02:32:03

开发了我自己的标记程序 http://www.taggtool.com 我可以提供以下想法:

它是超级能够使用标签交叉引用多个文件很有用,但是
尽管自动规则有所帮助,但向文件添加标签需要大量的前期和持续的工作。

从技术上讲,在 Windows 上编写这样的系统是一个挑战,您在哪里保存标签元数据?理想情况下在文件中,但这只能通过一小部分文件格式实现。

替代数据流提供了一个可能的解决方案,但感觉像是一个半成品的解决方案。

另一种选择是将元数据存储在数据库中,这带来了保持所有内容同步的新挑战。

遗憾的是,本机操作系统没有为文件提供强大的元数据存储,但目前就是这样。

Having developed my own tagging program http://www.taggtool.com I can offer the following thoughts:

It is super useful to be able to cross-reference multiple files using tags but
it involves a lot of upfront and ongoing effort to add tags to your files although automatic rules help.

Technically on Windows it's a challenge to code such a system, where do you save the tag metadata? Ideally in the file but that's only possible with a tiny set of file formats.

Alternative Data Stream offered a possible solution but it feels like a half baked solution.

The other option is to store the metadata in a database which introduces the new challenge of keeping everything in sync.

It's a shame that the native OS doesn't provide a robust metadata storage for files but that's the way it is at the moment.

傻比既视感 2024-08-31 02:32:03

唔。目前的研究正朝着这个方向发展。例如跟踪器
WinFS

就我个人而言,我认为我们不能轻易放弃目录结构,因为:

  • 它与计算机文件系统的工作方式以及程序期望的内容紧密相关
  • 如果存在很强的分离,层次结构有助于管理大量文件。即,我有文件夹“项目”、“音乐”、“大学”等,它们没有共同的文件,
  • 我想半高级用户(如 Windows 上的 *nix 极客)需要轻松了解底层结构。当我尝试使用 Windows 7 中的标准工具“搜索文件 XYZ.exe 并删除包含它的文件夹”时,我放弃了。

另一方面,当集合重叠时,标签的功能会更好,例如:

  • 家庭照片、建筑物照片 -纪念碑上我父母的照片属于哪里?
  • 音乐
  • 问题

如果用户足够“高级用户”,他可能想要使用分层标签并形成一些本体。另一方面,这些可以通过符号链接在 *nixes 上进行模拟。

总而言之,在某些领域我更喜欢标签,但不是所有领域。有时我需要了解底层结构。但可能和大多数其他 stackoverflow 用户一样。

Hmm. Current research goes into this direction. For example tracker
or WinFS.

Personally I believe that we cannot easily resign from directory structure as:

  • It is tightly connected with how computers file systems works and what programs expects
  • Hierarchical organisation helps manage large number of files if there is strong separation. I.e. I have folders Projects, Music, University etc. which shares no files in common
  • I guess that semi-power users (like *nix geek on windows) need to know the underlying structure easily. I gave up when I tried to do 'search for file XYZ.exe and delete the folder containing it' using standard tools in Windows 7.

On the other hand tags function better when the sets overlaps like:

  • Photos of family, photos of buildings - where photo of my parents in from of monument belongs?
  • Music
  • Questions

If user is 'power-user' enough he might want to use hierarchical tags and form some ontologies. Those on the other hand can be simulated on *nixes by symlinks.

To conclude - in certain areas I prefer tags but not for all of them. Sometimes I need to know underlying structure. But probably as most other stackoverflow users.

半城柳色半声笛 2024-08-31 02:32:03

文件系统标记将很有用——不是作为替代品,而是作为目录系统的补充。我不想将所有文件都放在一个目录中,但我希望使用标签组织树形层次结构(如图像/视频/音乐集合)内的一些文件或目录。

File system tagging would be useful - not as a replacement, but as a complement of a directory system. I don't want to have all files in one directory, but I would like to have some files or directories inside a tree hierarchy (like image/video/music collections) organized using tags.

因为看清所以看轻 2024-08-31 02:32:03

我已经开始了一个开发标记文件系统的项目。请访问 http://code.google.com/p/labelfs/ 查看

I've started a project to develop a tagging filesystem. Check it at http://code.google.com/p/labelfs/

旧人哭 2024-08-31 02:32:03

你可以看看 Reggata 这是一个简单的本地文件标记系统。

You may take a look at Reggata It's a simple tagging system for local files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文