Some minor additions

This patch will ignore all hidden files (for example .gitignore) not just "." and ".."
I also added detection for https and installation in a subdirectory.

Thanks for this minimalistic script. Just what I needed!