You are not logged in.
I am trying to get tar to archive my home directory, excluding specific cache directories and it is failing to exclude as I expect.
Here is my command line, which starts archiving fine:
tar cvJf archive.tar.xz . -X /home/larry/scripts/exclude.txt
This is the exclude text file:
./.cache/
./Downloads/
./.wine/
./.thumbnails/
./.config/chromium/
It does not exclude the above directories and their files. What am I doing wrong?
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Doh. That was easy - thanks!
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline