Releases: marcespie/random_run
Typing fix
More safe guards
Minor bug fixes (including a segfault for missing parameters) and two options:
-m for multiple copies of the parameters
-P for rotating to a given position
the one about the random filesystem
C++ filesystem traversal is "random", as in Unix semantics, naughty naughty.
this isn't a problem unless you want to use -R or -N
this release fixes that, ordering recursive traversals in alphabetical order.
standard input anyone ?
stunningly enough, -l didn't have any special case for recognizing - as standard input.
this makes rr more usable as a pipe end...
-D is for recursive dirs
A new option, a bit strange: I found out I had some directories I wanted to randomize (they contain vacation pictures) and the hierarchy isn't uniform.
Using something like rr -n2 -D diapo
does exactly the trick!
-d is for dashdash
Turns out ending the list of params with '--' sometimes is not enough, because I lose the
special meaning of -- to end options.
So rr diapo -- *
is not enough to stop options that appear in *.
By default, passing -- to the command makes sense (most commands do take -- correctly).
Provide -d if that's not a good idea (delete dashdash)
new option
-R stands for "rotate". This is a "shuffle light", just rotate the actual arguments starting... somewhere, because sometimes you want to keep the order, BUT start anywhere.
binutils is trash
2.8 Update LICENSE
the one with -s
new option: -s start
minor optimization for -1 (no need to shuffle everything)
much better error handling
especially wrt reading directories