[ale] Tarring Root FS

Jim Popovitch jimpop at yahoo.com
Fri Dec 9 15:57:53 EST 2005


Chris,

Try using quotes like this:

    --exclude "./mksysb/*"


-Jim P.

Christopher Fowler wrote:
> If you read my command line you'll see that I'm using --exclude now to
> try and tell tar to not grab anything in /mksysb/.  I'm not getting the
> desired results. 
> 
> 
> 
> 
> On Fri, 2005-12-09 at 15:27 -0500, Paul Cartwright wrote:
>> On Fri December 9 2005 3:12 pm, Christopher Fowler wrote:
>>> I'm trying to make a backup of my hard drive without including the
>>> directory /mksysb.  Tar keeps pulling files from that directory.
>>>
>> man tar:
>>
>>  --exclude=FILE
>>               exclude file FILE
>>
>>        -X, --exclude-from=FILE
>>               exclude files listed in FILE
>>
>> and info tar:
>>
>> `--exclude=PATTERN'
>>      When performing operations, `tar' will skip files that match
>>      PATTERN.
>>
>> `--exclude-from=FILE'
>> `-X FILE'
>>      Similar to `--exclude', except `tar' will use the list of patterns
>>      in the file FILE.
>>
>> `--exclude-caches'
>>      Automatically excludes all directories containing a cache
>>      directory tag.
>>
>> another way would be to specify files:
>> --file=ARCHIVE'
>> `-f ARCHIVE'
>>      `tar' will use the file ARCHIVE as the `tar' archive it performs
>>      operations on, rather than `tar''s compilation dependent default.
>>
>> `--files-from=FILE'
>> `-T FILE'
>>      `tar' will use the contents of FILE as a list of archive members
>>      or files to operate on, in addition to those specified on the
>>      command-line.
>>
>> ------
>> dontcha just HATE man pages???? you really have to know what you want 
>> before you look for it!
>>
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 



More information about the Ale mailing list