in the tarpit -- cannot exclude cache
Kevin O'Gorman
kogorman at gmail.com
Sat Oct 13 02:29:48 UTC 2012
On Thu, Oct 11, 2012 at 5:13 PM, Mike Kupfer <m.kupfer at acm.org> wrote:
> 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.
>
> http://www.gnu.org/software/tar/manual/html_node/exclude.html suggests
> that the CACHEDIR.TAG file needs to have certain contents for it to do
> what you want.
>
> A cache directory tag is a short file with the well-known name
> ‘CACHEDIR.TAG’ and having a standard header specified in
> http://www.brynosaurus.com/cachedir/spec.html.
Genius! That solved it.
Now to complain that there is no hint of the requirement for special
contents in the tar man page.
For now, I'm switching over to --exclude-tag=CACHEDIR.TAG so the
contents of the tag file are not important.
--
Kevin O'Gorman
programmer, n. an organism that transmutes caffeine into software.
More information about the ubuntu-users
mailing list