Copy an evenly spaced subset of files
Copy an evenly spaced subset of files For example I have files : file0.txt file1.txt file2.txt …. file100.txt I would like to copy 5 files in bash, which will produce result : file0.txt file19.txt file39.txt file59.txt file79.txt Edit. screwed up counting should be this: file0.txt file20.txt file40.txt file60.txt file80.txt So files are evenly spaced sampled. …