Batch move small files to separate directory


/ Published in: Bash
Save to your folder(s)

Separate small and big files by moving it out to different directories.


Copy this code and paste it in your HTML
  1. for f in `find . -iname "*.JPG" -size -500k`; do mv ${f} small; done

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.