Copy including hidden files

  • Last tested on Ubuntu 14.04.2 LTS (trusty)
$ cp -r folder1/. target/