Created
August 7, 2017 17:41
-
-
Save dcshapiro/0930e7ddcd9149a8db8c51a58fefdf17 to your computer and use it in GitHub Desktop.
Collecting and organizing faces images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#remove duplicates | |
fdupes -rdN /root/images/ | |
#remove blanks | |
find /root/images/ -size 0 -delete | |
#throw it all in a zip file | |
zip -0 -r faces.zip images/ | |
#now on the windows side we flatten the images into one directory after unzipping | |
for /r C:\Users\Daniel\Downloads\faces %f in (*) do @move "%f" C:\Users\Daniel\Downloads\faces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment