Skip to content

Instantly share code, notes, and snippets.

@u1and0
Created July 21, 2020 02:35
Show Gist options
  • Save u1and0/85045729e9c5e617f7be51b50c300edb to your computer and use it in GitHub Desktop.
Save u1and0/85045729e9c5e617f7be51b50c300edb to your computer and use it in GitHub Desktop.
random 300 files copy to mlwork/data
## ランダムに300件のファイルをコピーする
```
$ shuf <(\ls 2020*) | grep -v 202004 | head -300 | xargs -I {} cp {} ../mlwork/data/
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment