Posted By

graceman9 on 12/01/11


Tagged

batch


Versions (?)

Batch move small files to separate directory


 / Published in: Bash
 

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

  1. for f in `find . -iname "*.JPG" -size -500k`; do mv ${f} small; done

Report this snippet  

You need to login to post a comment.