Re: exclude directories

Lasse Kliemann <[email protected]> Wed, 27 Feb 2013 18:35:39 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
* Message by -Ashley- from Wed 2013-02-27:
 
> DIRECTORIES="/home/zelda "

>         $TAR -c -P -f $BACKUPTO $DIRECTORIES --exclude-from $EXCL_LIST

> The exclude file:
> ##############################################################################
> home/zelda/data
> home/zelda/Stuffs
> ##############################################################################

Change to

/home/zelda/data
/home/zelda/Stuffs

or use

DIRECTORIES="home/zelda "

in combination with -C /