[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



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
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00103" href="msg00103.html">[ale] Tarring Root FS</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00106" href="msg00106.html">[ale] Tarring Root FS</a></strong>
<ul><li><em>From:</em> paul_tbot at pcartwright.com (Paul Cartwright)</li></ul></li>
<li><strong><a name="00107" href="msg00107.html">[ale] Tarring Root FS</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00107.html">[ale] Tarring Root FS</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00108.html">[ale] Tarring Root FS</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00107.html">[ale] Tarring Root FS</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00115.html">[ale] Tarring Root FS</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00110"><strong>Date</strong></a></li>
<li><a href="threads.html#00110"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>