I am trying to tar everything within my home folder into a tar and I want to exclude certain folders like hidden ones and test_tree (which is actually nested quite a bit inside of other folders).
I tried executing this command:
tar -vcf everything.tar . --exclude='.*' --exclude='test_tree'
inside of the home directory
cd ~ but the tar created was completely empty. What is going on?