mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 16:01:16 +01:00
shuffle ids for bulk.sh
this requires gshuf (coreutils) to be installed on OS X
This commit is contained in:
parent
9a8dcbdff1
commit
9c5e5ff9a7
@ -18,7 +18,9 @@ fi
|
|||||||
|
|
||||||
# insert newline after uuids
|
# insert newline after uuids
|
||||||
id_file="$(echo | cat 'uuids.txt' - 'usernames.txt')"
|
id_file="$(echo | cat 'uuids.txt' - 'usernames.txt')"
|
||||||
mapfile ids <<< $id_file
|
# `brew install coreutils` on OS X
|
||||||
|
id_file="$(shuf <<< "$id_file" || gshuf <<< "$id_file")"
|
||||||
|
mapfile ids <<< "$id_file"
|
||||||
|
|
||||||
bulk() {
|
bulk() {
|
||||||
trap return INT
|
trap return INT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user