Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (7 sloc) 255 Bytes
#!/bin/bash
TARGETDIR=$1
find * -type d -exec mkdir "$TARGETDIR"\{\} \;
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
slash="/"
find * -name *-*.* -exec "$DIR""$slash"$2".sh" {} "$TARGETDIR" \;
find * -name thumb.jpg -exec cp {} "$TARGETDIR" \;