Hello,
When I tar a folder, I wish to exclude the cache files
Hence, I try to use
tar --exclude-caches-all
But it seems that the directory need to be tagged by a file
CACHEDIR.TAG
It looks like that any of my files are tagged.
find . -name CACHEDIR.TAG | sed -e 's/[/]CACHEDIR.TAG$//g' >/tmp/excludes
provides an empty file.
How can I manage CACHEDIR.TAG ?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
Show replies by date
OK,
I installed cachedir
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
> Sent: Saturday, July 29, 2017 at 6:00 PM
> From: "Patrick Dupre" <pdupre(a)gmx.com>
> To: fedora <users(a)lists.fedoraproject.org>
> Subject: CACHEDIR.TAG
>
> Hello,
>
> When I tar a folder, I wish to exclude the cache files
> Hence, I try to use
> tar --exclude-caches-all
> But it seems that the directory need to be tagged by a file
> CACHEDIR.TAG
> It looks like that any of my files are tagged.
> find . -name CACHEDIR.TAG | sed -e 's/[/]CACHEDIR.TAG$//g' >/tmp/excludes
>
> provides an empty file.
>
> How can I manage CACHEDIR.TAG ?
>
> Thank.