#!/bin/bash rm -R --force thisbundle/* thisbundle/.* rmdir thisbundle find . -name "*.bundle" | sed -n "${1}p" | sed "s/^/git clone '/" | sed "s/.*/&' thisbundle/" | /bin/bash echo "----------------" echo "show files for "$1 ls thisbundle more thisbundle/*.html thisbundle/*.js thisbundle/*.css thisbundle/*.txt