Use the --exclude option.
But, um, it might get crazy inside /dev and/or /proc (probably
will), so you might want to have an exclude file and --exclude-from.
Aviram Jenik wrote:
>
> Hi.
>
> Stupid check-and-the-egg question.
> I want to back up my entire hard-drive to a tgz file using tar. How can I do
> this, without adding the tar to the tar?!
>
> Thanks.
>
> -------------------------
> Aviram Jenik
>
> "Addicted to Chaos"
>
> -------------------------
> Today's quote:
>
> - Real programmers think structured programming is a communist
> plot.
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
--
-------------------------------------------------------------------------
| Omer Efraim | Earth First! |
| [EMAIL PROTECTED] | We can Strip Mine the other planets later... |
-------------------------------------------------------------------------
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]