View previous topic :: View next topic |
Author |
Message |
Prodigy44 Apprentice

Joined: 19 Sep 2003 Posts: 231 Location: Nantes, France
|
Posted: Tue Dec 21, 2004 2:01 pm Post subject: [Tar] problème avec l'option --exclude et --exclude-from |
|
|
Bon alors voila je souhaite réaliser une copie de mon stage 1 avec les 2-3 petites conf que j'ai faite, mais voila il semble que ma commande tar me joue des siennes.
J'utilise cette astuce :
https://forums.gentoo.org/viewtopic.php?p=1540003&sid=b06e16c349ae81636ff554b8410e2dc8#1540003
J'utilise tar en version 1.14.90-r1 depuis le livecd.
Mais voila ma commande tar ne prend pas en compte le paramètre --exclude ni --exclude-from j'ai essayé avec des égals, --exclude-from=exclud.list. mais ça ne marche pas non plus.
Par contre si j'essaye depuis ma partition normale installée (pas depuis le livecd) ca marche
J'utilise le livecd 2004.3 je sais plus la sous version (-r1 ?)
Quelqu'un aurait il également ce bug ? _________________ Apporter votre contribution au libre : http://fr.wikipedia.org |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Tue Dec 21, 2004 9:22 pm Post subject: |
|
|
Prodigy44,
Sorry I don't write French
tar on the liveCD is part of busybox. Try the -X option instead. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Prodigy44 Apprentice

Joined: 19 Sep 2003 Posts: 231 Location: Nantes, France
|
Posted: Wed Dec 22, 2004 8:29 am Post subject: |
|
|
I have already tried this option, I think it is the version 1.14.90-r1 which has a bug....
I will check it later. _________________ Apporter votre contribution au libre : http://fr.wikipedia.org |
|
Back to top |
|
 |
Pachacamac Veteran


Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Mon Dec 27, 2004 1:19 am Post subject: |
|
|
Si tu utilises --exclude=/repertoire il ne faut pas mettre de / à la fin sinon ça peux poser problème.
De même que dans le fichier si tu utilises -X |
|
Back to top |
|
 |
Prodigy44 Apprentice

Joined: 19 Sep 2003 Posts: 231 Location: Nantes, France
|
Posted: Mon Dec 27, 2004 10:06 am Post subject: |
|
|
de mémoire ca devait etre ca  _________________ Apporter votre contribution au libre : http://fr.wikipedia.org |
|
Back to top |
|
 |
|