lamiastella

move the first 500 files into another folder

May 14th, 2021 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. $ find . -maxdepth 1 -type f |head -500 | xargs -I{} mv {} ../ride_bicycle_pt1
  2.  
  3. cuts the first 500 files in current dir and pastes them in destination folder
Add Comment
Please, Sign In to add comment