How to back up hidden files
Last modified on July 24, 2026 • 1 min read • 32 wordstar cvf backupfile.tar .[a-zA-Z0-9]Any better ideas?
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.