[Tracker] tracker-tag patch



Hey everyone,

tracker-tag and friends were starting to bother me because of their
non-standard options usage; most didn't even have a --help option.
I've patched tracker-tag to use GOptions, which offers the following
benefits: 1) it automatically converts filenames from locale to utf8,
and 2) automatically provides useful help output. This patch also adds
support for tagging multiple files at once, like so:

tracker-tag -a music -a radiohead -r bad music/radiohead/*

which would tag all files in music/radiohead/ with "music" and
"radiohead", and remove any instances of "bad." I know that these
command line utilities aren't really meant to be used for day-to-day
stuff (eventually we'll have a bling-ful barracuda :-P), but I don't
think that means the CLI tools should be left out. Anyways, if this is
useful, let me know and I can patch the other tools too.

Cheers,
Samuel Cormier-Iijima

Attachment: tracker-tag.patch
Description: Text Data



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