mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
shuffle ids for bulk.sh
this requires gshuf (coreutils) to be installed on OS X
This commit is contained in:
@@ -18,7 +18,9 @@ fi
|
||||
|
||||
# insert newline after uuids
|
||||
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() {
|
||||
trap return INT
|
||||
|
||||
Reference in New Issue
Block a user