1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398
|
.\" Man page generated from reStructuredText.
.
.TH OPERON 1 "" "" ""
.SH NAME
operon \- command line music tagger
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.nf
\fBoperon\fP [\-\-version] [\-\-help] [\-v | \-\-verbose] <\fIcommand\fP> [<\fIargument\fP>...]
\fBoperon help\fP <\fIcommand\fP>
.fi
.sp
.SH OPTIONS
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-\-version
Print the program version
.TP
.B \-v\fP,\fB \-\-verbose
Verbose mode
.UNINDENT
.SH COMMAND-OVERVIEW
.SS Edit Tags
.nf
\fIadd\fP Add a tag value
\fIremove\fP Remove a tag value
\fIset\fP Set a tag and remove existing values
\fIclear\fP Remove tags
\fIcopy\fP Copy tags from one file to another
\fIedit\fP Edit tags in a text editor
\fIfill\fP Fill tags based on the file path
.fi
.sp
.SS Show file metadata
.nf
\fIlist\fP List tags
\fIinfo\fP List file information
\fIprint\fP Print tags based on the given pattern
.fi
.sp
.SS Edit Embedded Images
.nf
\fIimage\-extract\fP Extract embedded images
\fIimage\-set\fP Set embedded image
\fIimage\-clear\fP Remove embedded images
.fi
.sp
.SS Miscellaneous
.nf
\fItags\fP List all common tags
\fIhelp\fP Display help information
.fi
.sp
.SH EDIT TAGS
.SS add
.sp
Add a new tag \fB<tag>\fP with the value \fB<value>\fP to all files.
.sp
operon add [\-h] <tag> <value> <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon add artist \(aqThe Beatles\(aq song1.ogg song2.ogg
.UNINDENT
.SS remove
.sp
Remove all values from the tag \fB<tag>\fP that match either \fB<value>\fP or
the regular expression \fB<pattern>\fP from all files.
.sp
operon remove [\-h] [\-\-dry\-run] <tag> (\-e <pattern> | <value>) <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-\-dry\-run
Print the results without changing any files
.TP
.BI \-e\fP,\fB \-\-regexp \ <regexp>
Remove all tag values that match the given regular expression
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon remove artist \(aqThe Beatles\(aq song.ogg
.UNINDENT
.SS set
.sp
Replace all values of the tag \fB<tag>\fP by \fB<value>\fP in all files.
.sp
operon set [\-h] [\-\-dry\-run] <tag> <value> <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-\-dry\-run
Print the results without changing any files
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon set artist \(aqThe Beatles\(aq song.ogg
.UNINDENT
.SS clear
.sp
Remove all tags that match \fB<tag>\fP or the regular expression \fB<pattern>\fP
from all files. If \fI\-\-all\fP is specified, all known tags will be removed.
.sp
operon clear [\-h] [\-\-dry\-run] (\-a | \-e <pattern> | <tag>) <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-\-dry\-run
Print the results without changing any files
.TP
.B \-a\fP,\fB \-\-all
Remove all tags
.TP
.BI \-e\fP,\fB \-\-regexp \ <regexp>
Remove all tags that match the given regular expression
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon clear \-a song.ogg
.sp
operon clear \-e \(aqmusicbrainz_.*\(aq song.ogg
.sp
operon clear date song.ogg
.UNINDENT
.SS copy
.sp
Copy all tags from the file \fI<source>\fP to \fI<dest>\fP\&. All tags in \fB<dest>\fP
will be preserved. In case the destination format doesn\(aqt support setting a
tag from source, no tags will be copied. To ignore tags that aren\(aqt
supported by the destination format pass \fI\-\-ignore\-errors\fP\&.
.sp
operon copy [\-h] [\-\-dry\-run] [\-\-ignore\-errors] <source> <dest>
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-\-dry\-run
Print the results without changing any files
.TP
.B \-\-ignore\-errors
Skip tags which the target file does not support
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon copy song.flac song.ogg
.UNINDENT
.SS edit
.sp
Shows all tags in a text editor and will apply any changes made to the text to
the tags. \fIoperon\fP will use the editor specified in the VISUAL or EDITOR
environment variables and if those are not set fall back to \(aqnano\(aq.
.sp
operon edit [\-h] [\-\-dry\-run] <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-\-dry\-run
Print the results without changing any files
.UNINDENT
.INDENT 0.0
.TP
.B Example:
VISUAL=vi operon edit song.flac
.UNINDENT
.SS fill
.sp
Fill tags based one file paths and a given pattern.
.sp
operon fill [\-h] [\-\-dry\-run] <pattern> <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
show this help message and exit
.TP
.B \-\-dry\-run
show changes, don\(aqt apply them
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon fill \-\-dry\-run "<tracknumber>. <title>" "01. Was Ist Ist.flac"
.UNINDENT
.SH SHOW FILE METADATA
.SS list
.sp
Lists all tags, values and a description of each tag in a table.
.sp
operon list [\-h] [\-a] [\-t] [\-c <c1>,<c2>...] <file>
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-a\fP,\fB \-\-all
Also list programmatic tags
.TP
.B \-t\fP,\fB \-\-terse
Output is terse and suitable for script processing
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-columns <name>,...
Defines which columns should be printed and in which order
.TP
.B Example:
operon list \-a song.flac
.sp
operon list \-t \-c tag,value song.ogg
.UNINDENT
.SS info
.sp
Lists non\-tag metadata like length, size and format.
.sp
operon info [\-h] [\-t] [\-c <c1>,<c2>...] <file>
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-t\fP,\fB \-\-terse
Output is terse and suitable for script processing
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-columns <name>,...
Defines which columns should be printed and in which order
.TP
.B Example:
operon info a.ogg
.UNINDENT
.SS print
.sp
Prints information per file built from tag values. The pattern can be
customized by passing a pattern string (See \fBquodlibet\fP(1) for the
pattern format)
.sp
operon print [\-h] [\-p <pattern>] <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.BI \-p\fP,\fB \-\-pattern \ <pattern>
Use a custom pattern
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon print \-p "<album> \- <artist>" a.ogg
.UNINDENT
.SH EDIT EMBEDDED IMAGES
.SS image\-extract
.sp
Extract all embedded images to the current working directory or the specified
destination directory.
.sp
operon image\-extract [\-h] [\-\-dry\-run] [\-\-primary] [\-d <destination>] <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-\-dry\-run
Print the found images and resulting file paths but don\(aqt save them
.TP
.B \-\-primary
Only extract the primary images for each file
.TP
.BI \-d\fP,\fB \-\-destination \ <destination>
Save all images to the specified destination
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon image\-extract asong.mp3 anotherone.ogg
.UNINDENT
.SS image\-set
.sp
Set the provided image as primary embedded image and remove all other
embedded images.
.sp
operon image\-set <image\-file> <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon image\-set cover.jpg song.mp3
.UNINDENT
.SS image\-clear
.sp
Remove all embedded images from all specified files.
.sp
operon image\-clear <file>...
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.UNINDENT
.INDENT 0.0
.TP
.B Example:
operon image\-clear song.mp3
.UNINDENT
.SH MISCELLANEOUS
.SS tags
.sp
List all common tags
.sp
operon tags [\-h] [\-a] [\-t] [\-c <c1>,<c2>...]
.INDENT 0.0
.TP
.B \-h\fP,\fB \-\-help
Display help and exit
.TP
.B \-a\fP,\fB \-\-all
Also list programmatic tags
.TP
.B \-t\fP,\fB \-\-terse
Output is terse and suitable for script processing
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-columns <name>,...
Defines which columns should be printed and in which order
.TP
.B Example:
operon tags \-a
.sp
operon tags \-t \-c tag
.UNINDENT
.SS help
.sp
operon help [<command>]
.INDENT 0.0
.TP
.B Example:
operon help list
.UNINDENT
.SH SEE ALSO
.nf
\fBregex\fP(7)
\fBexfalso\fP(1)
\fBquodlibet\fP(1)
.fi
.sp
.\" Generated by docutils manpage writer.
.
|