Created
May 31, 2017 23:26
-
-
Save cdolek/b913c6936b1bd539d9f05ef1d9c2b9f6 to your computer and use it in GitHub Desktop.
Move first 1000 files in a folder to another folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -maxdepth 1 -type f|head -1000|xargs -I{} mv {} ./targetDirectory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment