Choose random files from a file 12 Apr 2020 In macos brew install coreutils gshuf -n N input > output In linux shuf -n N input > output