MPVF is a Bash script that runs MPV with optional MPV profiles on a set of files found with GNU Find by including and excluding shell patterns and setting the depth levels in the directory tree. Search patterns and directories are entered on the command line or in the script. File names can also be matched against an optional list of file extensions. With no options entered, the script's defaults are used.
Usage
mpvf {[<mpv profile,...>] [-a <pattern>] [-e <pattern>] [-i <pattern>] [-n <levels>] [-x <levels>] [directory...] | --help | --version}
Options
<mpv profile,...>
Name of the MPV profile to use.
-a, --alt \
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim9script | |
# vim: sts=4 sw=4 sts=4 et | |
&compatible = false # It's not 1980 anymore, don't care about vi-compatibility | |
syntax on # This should be set by default, but just in case | |
filetype plugin indent on # This should be set by default, but just in case | |
&autowrite = true # Write the contents of the file automatically before many actions | |
&autoread = true # Detect when other programs modify a file we're editing | |
&backspace = 'indent,eol,start' # Allow backspacing over everything in insert mode. | |
&backup = true # Enable backups |
OlderNewer