The following command will tar
all "dot" files and folders:
tar -zcvf dotfiles.tar.gz .??*
I am familiar with regular expressions, but I don't understand how to interpret .??*
. I executed ls .??*
and tree .??*
and looked at the files which were listed. Why does this regular expression include all files within folders starting with .
for example?