Skip to content

Instantly share code, notes, and snippets.

View lytefast's full-sized avatar

Sam Shih lytefast

View GitHub Profile
#!/bin/bash
# Shuffle large input
USAGE_MSG="Usage: randomize_input {input_dir} {batch_size} {result_prefix}"
# Set parameters
if [[ $# -eq 0 ]] ; then
echo $USAGE_MSG
exit -1
fi