#926
[Unix] Move x files from a folder to another
find /INPUT_FOLDER/ -name "*.*" | head -n 5000 | xargs -I {} mv {} /OUTPUT_FOLDER/
Just another Code Snippet site
#926
find /INPUT_FOLDER/ -name "*.*" | head -n 5000 | xargs -I {} mv {} /OUTPUT_FOLDER/
Comments are currently closed.