I need to create a tarball of a given directory. However, I need to make sure hidden files are included too (such as those beginning with
Will the following command automatically take the hidden files into account?
tar -cvzf packed.tar.gz mydir
If not, how can I make sure I include hidden files?