Tag: for
-
Move small files to separate directory in one command
Loop files under a set weight to move it to a directory. for f in `find . -iname “*.JPG” -size -500k`; do mv ${f} small; done
Loop files under a set weight to move it to a directory. for f in `find . -iname “*.JPG” -size -500k`; do mv ${f} small; done