in the tarpit -- cannot exclude cache
Nils Kassube
kassube at gmx.net
Thu Oct 11 17:39:37 UTC 2012
Kevin O'Gorman wrote:
> I've done a "touch /home/kevin/.cache/CACHEDIR.TAG" to mark the
> directory I want to exclude, but it's not getting excluded.
> The command runs as root, and the complete command line is
>
> sudo tar --absolute-names --one-file-system --exclude-caches -czf
> treat.home.manual-121011.tgz /home
>
> and changing the type of --exclude does not help.
I'm not sure if it matters, but according to the man page on my 10.04
machine the option would be "-exclude-caches" with only one "-" at the
start.
Nils
More information about the ubuntu-users
mailing list