tar cvf backupfile.tar .[a-zA-Z0-9]*Any better ideas? This command requires that the dot is followed by an alphanumerical character. Which is usually the case for the hidden files in the user's home folder.
tar cvf backupfile.tar .[a-zA-Z0-9]*
View the discussion thread.