Files
espie 78a12e7a5f lots more cleanup, probably all for today
(better options for regexp, and ways more examples in the manpage)
2019-05-25 12:20:26 +00:00

18 lines
472 B
Plaintext

rr (random run) runs a command with randomized arguments.
Basically,
$ rr mpv *.mp4
will give you a true shuffle, that doesn't play the same file twice.
There are lots more options:
$ rr xv -nolimit -- *
allows you to specify options that won't be jumbled.
$ rr -n 500 -r -x '.*.pdf' xv -nolimit -- *
will run xv several times on all files below the current directory
except those matching '.*.pdf', limiting each run to 500 parameters.
See the manpage for details.