Forum Moderators: bakedjake
I'm going to upgrade to RH7.3 tommorow and need to tar my home dir including the dot-files.
Can someone help me with the regex for that?
Many thanks
Nick
tar czvf /backup/myhome.tar.gz /home/David/
The target directory /backup must exist.
This will create a backup of everything in the directory called myhome.tar.gz.
I asked once how to cp all my dot files to a dir and the answer required some regex. I just had it in my head that I needed to do it that way again.
What a fool, your solution is of course obvious once my brain is in gear ;)
Cheers