TAGGREPPER(1)

πŸ’– TAGGREPPER πŸ’–

okay bestie, welcome to taggrepper β€” it's a section 1 (User Commands) manual page, so it's a real lil program you run in your shell. buckle up πŸŽ€


✨ NAME ✨

taggrepper β€” search and match tags of media file for regular expressions πŸŽ΅πŸ”


🌸 SYNOPSIS 🌸

taggrepper [--tag-label regexp]... [--display-taglabel]...
[FILE/DIRECTORY]...

πŸ’… DESCRIPTION πŸ’…

So what it does is: perform a regular expression search on the tags of specified media files. that's the whole vibe. it goes through your files' tags and checks them against your regexes 🫢

Mandatory arguments to long options are mandatory for short options too. (yes literally, that's the rule, no cap)

All regular expressions are Perl Compatible Regular expressions supported by the PCRE libraries. and here's the part that gets people: all matches are ANDed, meaning that for a successful match, matches against all tags must occur. so every tag you ask about has to hit, or the file doesn't make the cut. it's giving strict. 😀

Support exists for MP3 files, and, if compiled in, for Ogg Vorbis and FLAC files as well. slay.


now the options, one by one, all of them, no skipping πŸ™ˆ

  • -t, --title=REGEXP β€” Match the title tag against REGEXP
  • -a, --artist=REGEXP β€” Match the artist tag against REGEXP
  • -l, --album=REGEXP β€” Match the album, tag against REGEXP
  • -y, --year=REGEXP β€” Match the year tag against REGEXP
  • -g, --genre=REGEXP β€” Match the genre tag against REGEXP
  • -c, --comment=REGEXP β€” Match the comment tag against REGEXP
  • --track=REGEXP β€” Match the track tag against REGEXP
  • -c, --composer=REGEXP β€” Match the composer tag against REGEXP
  • -o, --orig-artist=REGEXP β€” Match the original artist tag against REGEXP
  • -c, --copyright=REGEXP β€” Match the copyright tag against REGEXP
  • -u, --url=REGEXP β€” Match the URL tag against REGEXP
  • -e, --encoded-by=REGEXP β€” Match the encoded-by tag against REGEXP
  • --any-tag=REGEXP β€” Match the encoded-by tag against REGEXP. Using this option makes every one of the above options to be ignored πŸ‘€ (yes, the manpage says "encoded-by" here, we are reporting it exactly as it is, don't come for me)
  • --display-title β€” display title tag of matching files
  • --display-artist β€” display artist tag of matching files
  • --display-album β€” display album tag of matching files
  • --display-year β€” display year tag of matching files
  • --display-genre β€” display genre tag of matching files
  • --display-comment β€” display comment tag of matching files
  • --display-track β€” display track tag of matching files
  • --display-composer β€” display composer tag of matching files
  • --display-orig-artist β€” display orig-artist tag of matching files
  • --display-copyright β€” display copyright tag of matching files
  • --display-url β€” display url tag of matching files
  • --display-encoded-by β€” display encoded-by tag of matching files
  • -0, --print0, β€” Use null character as delimiter. This option can be used with -0 option of xargs. (yes there's a comma after --print0, iconic, leaving it)
  • -r, --recursive β€” Search directories recursively 🌈
  • -v, --version β€” Display version and exit
  • -h, --help β€” Display this help message

All regular expressions are PCRE regular expressions. Refer to the PCRE documentation for details. Report comments and bugs to a.kumar@alumni.iitm.ac.in πŸ“§


πŸŽ€ COPYING πŸŽ€

Copyright Β© Kumar Appaiah

License: BSD License (see COPYING file in the distribution tarball for details)

This program is free software; you can distribute it under the terms of the BSD License. See the file COPYING in the tarball, or /usr/share/common-licenses/BSD on Debian-based systems. 🫢


πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page bestie!! πŸ’–βœ¨ this was taggrepper version 0.01, dated July 2009 β€” go forth and grep those tags, you absolute main character πŸ‘‘πŸ’