☰ Categories

Linux: Using tar to archive your hidden directories

tar -cvpzf ../usernamefiles.tgz .

Even though tar appears to catch the loop, it is best to redirect your new file to a location other than the one you are archiving.