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

Re: [OT] Hilfe zu tar



Am 2008-11-06 20:11:17, schrieb Dirk Schleicher:
> Hallo Leute,
> 
> ich sichere ein Verzeichnis mit tar.
> tar -cjvf /media/backup/mail$DATUM.tar.bz2 /home/dirk/mail
> 
> Jetzt möchte ich aber ein oder mehrere Verzeichnisse nicht mitsichern.
> man tar brachte mir nichts einleuchtendes.
> -T ?
> --exclude=Muster? Kann ich das auch ein Verzeichnis anwenden? 
> Wenn ja, wie dann mehrere angeben?

tar --exclude="Datei1
tmp
foo
bar" -cjvf /media/backup/mail$DATUM.tar.bz2 /home/dirk/mail


Verzeichnisse und Dateien können gleichermaßen angegeben
werden inclusive wildcards wie "*" und "?"

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: