table of contents
- buster 0.9.2-6
PYTAGS(1) | [FIXME: manual] | PYTAGS(1) |
NAME¶
pytags - set and remove tags on media files from filename and optionsSYNOPSIS¶
pytags [OPTIONS] file [file...]
DESCRIPTION¶
pytags is a simple, general-purpose tool for setting and removing media file tags. With no options, pytags prints a tag summary for all files specified on the command line. Options can be used to set and remove tags on files.Using --format, it is easy to change or create tags on by parsing metadata from filenames according to an arbitrary format string. This makes it simple to tag files that are consistently named.
Additionally, tags can be manipulated directly with the --add, --set, and --remove options. These options are processed in order, so options specified later on the command-line may cause values set by earlier options to be overwritten. These options must appear after the --format, if it is used.
OPTIONS¶
--add=EXPR--format=FORMAT
--set=EXPR
--remove=TAG
-h, --help
-v, --version
FORMAT STRINGS¶
The format string expected by --format is the same as that for pytagsfs. See the pytagsfs manual page for more information.EXAMPLES¶
Remove the genre tag from all .ogg files in the current directory.$ pytags --remove genre *.ogg
Set the artist and album tag on all .mp3 files, and remove the genre tag.
$ pytags --set artist=Foo --set album=Bar --remove genre *.mp3
Tag all of the .flac files in the current directory. All such files are assumed to be in the format "tracknum artist - trackname [album].flac".
$ pytags --format '%n %a - %t [%l].flac' *.flac
BUGS¶
Please report bugs on launchpad at http://launchpad.net/products/pytagsfs/+bugs.pytags relies on mutagen (the underlying Python tags library) to choose an appropriate tag format for the files being tagged. This cannot currently be overridden.
SEE ALSO¶
pytagsfs(1)AUTHOR¶
Forest BondCOPYRIGHT¶
Copyright © 2007, 2008, 20092009-12-04 | [FIXME: source] |