Last active
August 29, 2015 14:01
-
-
Save huzhifeng/0996fef624b233309bfb to your computer and use it in GitHub Desktop.
Cleanup thumbnail created by thumbnailer.sh
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
#!/bin/bash | |
photo_dir='.' | |
if test $# -gt 0; then | |
photo_dir=$1 | |
fi | |
thumbnail_dir='_thumbnail' | |
find $photo_dir -type d -name $thumbnail_dir |xargs rm -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment