Suppose there is a directory holding 300 data files. I want to randomly select 200 of those files and move them into another directory. Is there a way to do that under Unix/Linux?
Best method to collect a random sample from a collection of files
linux;shell;command line;filesystems;directory