Versão Linux das Bibliotecas do Windows 7

4

Bibliotecas são uma das características que eu gosto no Windows 7 (reconhecidamente, eu ainda não me aprofundei profundamente). Alguém usando um conceito similar em um sistema Linux? Eu acho que o UnionFS poderia funcionar, mas eu não brinquei com isso (ainda).

Então alguém faz algo como 'bibliotecas' no Linux, qual é a sua configuração e como você gosta?

Sobre Bibliotecas : Meu entendimento é que eles agrupam diferentes diretórios em um único 'diretório' pesquisável / navegável. Por exemplo, sua pasta 'música' pode conter suas músicas, a música no diretório 'público' do seu computador e a música em um computador compartilhado (Windows Vista / 7). Tanto quanto eu sei, eles seriam "mesclados" juntos em uma pasta unificada.

Atualizar : os utilitários de pesquisa são boas opções; no entanto, também estou interessado em métodos que criam um caminho real do sistema de arquivos, que pode ser usado como origem em outros aplicativos (por exemplo, agrupar músicas de locais diferentes para usar em um media player). Certamente links simbólicos poderiam ser usados, mas acredito que as bibliotecas do Win7 mostram o conteúdo de todos os diretórios no diretório 'library'.

    
por Tim Lytle 25.09.2009 / 04:40

4 respostas

4

Coisas que descobri que parecem fazer o que você precisa:

  • metatracker com trackerfs - parece ser a melhor escolha
  • tagfs - pode não ser tão confortável quanto o metatracker
  • leaftag - não encontrou a versão nova
por 22.11.2009 / 14:27
1

O Beagle é uma boa alternativa para o Linux, Tim. Eu devo dizer que eu só ganhei um interesse nele depois de ver Bibliotecas no Windows 7. Eu concordo com você, esta é realmente uma grande adição de interface para o sistema operacional. E eles podem ser usados para muito mais do que apenas arquivos de mídia. Atualmente já estou indexando e organizando projetos em diferentes linguagens de programação, documentação técnica, etc.

Ganhando interesse nisso, procurei uma boa alternativa no Linux. E o Beagle faz o trabalho. Não exatamente da mesma maneira. Mas quer apostar que não vai demorar? :)

Como alternativa, você pode tentar o Meta Tracker . Eu não tentei ainda (está na minha lista ... por algum tempo), mas oferece um tipo de recurso de biblioteca do Windows através de seu próprio armazenamento de objeto.

    
por 25.09.2009 / 04:49
1

No Linux, você pode usar links físicos e simbólicos para criar diretórios virtuais.

Extraído do roteiro do Windows para Linux: parte 2

A link is a reference to a file, so that you can let files be seen in multiple locations of the file system. However, in Linux, a link can be treated as the original file. As far as other applications on the system are concerned, a link is the original file. When you make edits to a file through the link, you are editing the original. A link is not a copy. There are two kinds of links: a hard link and a symbolic link.

A hard link can only reference files in the same file system. It provides a reference to the file's physical index (also called an inode) in the file's system. Hard links do not break when you move the original file around because they all point to the file's physical data rather than its location in the file structure. A hard-linked file does not require the user to have access rights to the original file and does not show the location of the original, so it has some security advantages. If you delete a file that has been hard linked, the file remains until all references have been deleted as well.

A symbolic link is a pointer to a file's location in the file system. Symbolic links can span file systems and can even point to files in a remote file system. A symbolic link shows the location of the original file and requires a user to have access rights to the original file's location in order to use the link. If the original file is deleted, all of the symbolic links become broken. They will point to a non-existent location in the file system.

Both types of links can be made with the command ln . By default ln will make a hard link. The -s switch will make a symbolic link.

Create a hard link from MyFile in the current directory to /YourDir/MyFile
ln MyFile /YourDir

Create a symbolic (soft) link from MyFile in the current directory to /YourDir/YourFile
ln -s MyFile/YourDir/Yourfile

In the above examples, MyFile, /YourDir/MyFile, and /YourDir/Yourfile are all treated as the same file.

    
por 22.11.2009 / 13:29
0

Veja também UnionFS ...

Unionfs is a filesystem service for Linux, FreeBSD and NetBSD which implements a union mount for other file systems. It allows files and directories of separate file systems, known as branches, to be transparently overlaid, forming a single coherent file system. Contents of directories which have the same path within the merged branches will be seen together in a single merged directory, within the new, virtual filesystem.

    
por 13.01.2015 / 10:13