[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753653: RFP: tmsu -- command-line file tagging tooI and tag-based virtual filesystem



Package: wnpp
Severity: wishlist


* Package name    : tmsu
  Version         : 0.4.2
  Upstream Author : Paul Ruane <paul@tmsu.org.>
* URL             : http://tmsu.org/
* License         : GPLv3
  Programming Lang: Go
  Description     : command-line file tagging tooI and tag-based
virtual filesystem

TMSU is a tool for tagging your files. It provides a simple
command-line tool for applying tags and a virtual filesystem so that
you can get a tag-based view of your files from within any other
program.

TMSU does not alter your files in any way: they remain unchanged on
disk, or on the network, wherever you put them. TMSU maintains its own
database and you simply gain an additional view, which you can mount,
based upon the tags you set up. The only commitment required is your
time and there's absolutely no lock-in

Features:
* Tagging Files: Use the tag command to apply tags to files: $ tmsu
tag summer.mp3 music
* Merging tags: merging an accidentally created umsic tag into the
existing music tag: $ tmsu merge umsic music
* Specify values for tags: $ tmsu tag spring.mp3 year=2003; tmsu tag
summer.mp3 year=2008
 * Listing Tags: $ tmsu tags summer.mp3
 *  Listing Files: $ tmsu files mp3; $ tmsu files mp3 big-jazz; tmsu
files "(mp3 or flac) and not big-jazz"; tmsu files year = 2010; tmsu
files "music and year >= 2000 and year < 2010"
 * Virtual File-System

    $ mkdir mp
    $ tmsu mount mp
    $ ls mp
    queries
    tags
    $ ls mp/tags
    big-jazz mp3 music
    $ ls -l mp/tags/music
    drwxr-xr-x 0 paul paul 0 2012-04-13 20:00 big-jazz
    drwxr-xr-x 0 paul paul 0 2012-04-13 20:00 mp3
    drwxr-xr-x 0 paul paul 0 2012-04-13 20:00 spring.2.mp3 ->
/home/paul/spring.mp3
    drwxr-xr-x 0 paul paul 0 2012-04-13 20:00 summer.1.mp3 ->
/home/paul/summer.mp3
    drwxr-xr-x 0 paul paul 0 2012-04-13 20:00 winter.3.mp3 ->
/home/paul/winter.mp3

Files in the virtual file-system are actually just symbolic links back
to the tagged file's real location elsewhere on the file-system. This
means they can be used just like regular files from any application: $
acmeplayer mp/tags/music/summer.1.mp3

 * Queries: In addition to the tags view, there is also a queries
directory in which you can run view queries just like those we ran
earlier with the files command.

    $ ls mp/queries
    README.md
    $ mkdir "mp/queries/mp3 and not folk"
    $ ls "mp/queries/mp3 and not folk"
    summer.1.mp3
    winter.3.mp3


Reply to: