将目录合并为虚拟目录
在 Windows XP 中 有人知道一种可以将多个目录映射到一个虚拟驱动器或目录的软件吗?
当我打开虚拟目录时,我想查看映射目录中的所有文件,就像它是一个物理目录一样。
Linux软件mhddfs似乎完全符合我的需要。
来自 http://svn.uvw.ru/mhddfs/trunk/README
Consider we have two hard drives with the content below:
/hdd1 /hdd2
| |
+-- /dir1 +-- /dir1
| | | |
| +- file2 | +- file4
| | +- file2
+-- file1 |
| +-- file5
+-- /dir2 |
| +-- /dir3
+- file3 |
+- file6
mounting this tree with the command:
mhddfs /hdd1,/hdd2 /hdd_common
into the specified file system point we will see a combined tree.
In the united tree we can see all the directories and files. Note
file2 of 2nd hdd is not visible (because 1st hdd has the file2
already).
/hdd_common
|
+-- /dir1
| |
| +-- file2 -> /hdd1/dir1/file2
| +-- file4
|
|-- /dir2
| |
| + file3
|
+-- /dir3
| |
| +-- file6
|
+-- file1
+-- file5
谢谢
in Windows XP
Does anybody know a software that maps multiple directories to ONE virtual drive or directory?
When I open the virtual directory, I want to see all files from mapped directories as if it was one physical dir.
Linux software mhddfs seems to correspond exactly to my need.
from http://svn.uvw.ru/mhddfs/trunk/README
Consider we have two hard drives with the content below:
/hdd1 /hdd2
| |
+-- /dir1 +-- /dir1
| | | |
| +- file2 | +- file4
| | +- file2
+-- file1 |
| +-- file5
+-- /dir2 |
| +-- /dir3
+- file3 |
+- file6
mounting this tree with the command:
mhddfs /hdd1,/hdd2 /hdd_common
into the specified file system point we will see a combined tree.
In the united tree we can see all the directories and files. Note
file2 of 2nd hdd is not visible (because 1st hdd has the file2
already).
/hdd_common
|
+-- /dir1
| |
| +-- file2 -> /hdd1/dir1/file2
| +-- file4
|
|-- /dir2
| |
| + file3
|
+-- /dir3
| |
| +-- file6
|
+-- file1
+-- file5
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这并不是您想要的解决方案,但如果您可以接受所有源目录在新目标中都有自己的子目录,您可以查看 Windows 工具 Sysinternals 套件的连接点。
它允许您创建和管理符号链接。你的树结构会是这样的:
称它为:
It's not quite the solution you want, but if you can live with all source directories having their own sub directory in a new target, you can check out the Windows tool junction from the Sysinternals Suite.
It allows you to create and manage symbolic links. your tree structure would be something like:
Call it like: