Skip to content

Instantly share code, notes, and snippets.

@hzshang
Last active November 1, 2017 12:43
Show Gist options
  • Save hzshang/eed03b98ca6d1da7df0c824a341fdcd1 to your computer and use it in GitHub Desktop.
Save hzshang/eed03b98ca6d1da7df0c824a341fdcd1 to your computer and use it in GitHub Desktop.
i=1
for file in $(find . -name "*.jpg")
do
mv $file face-set/face$i.jpg;
i=$((i+1));
done
for file in $(ls -p | grep -v / | tail -5000)
do
mv $file ../face-set-check-24x24
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment