Outils pour utilisateurs

Outils du site


tech:tar_avec_cpio

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:tar_avec_cpio [2026/07/03 18:00] – Jean-Baptistetech:tar_avec_cpio [2026/10/14 19:13] (Version actuelle) – Jean-Baptiste
Ligne 17: Ligne 17:
  
 ~~~bash ~~~bash
-find . -depth | cpio -ov --format=ustar |pigz > archive.tar.gz+find . -depth | cpio -ov --format=ustar | pigz > archive.tar.gz
  
 # Équivalent ? # Équivalent ?
Ligne 27: Ligne 27:
  
 ~~~bash ~~~bash
-find . -type f |cpio -ov --format=ustar |pigz > archive.tar.gz+find . -type f | cpio -ov --format=ustar |pigz > archive.tar.gz
 ~~~ ~~~
  
 Si vous avez des noms de fichiers avec des espaces et des caractères bizarres Si vous avez des noms de fichiers avec des espaces et des caractères bizarres
 ~~~bash ~~~bash
-find . -depth -print0 |cpio -0 -ov --format=ustar |pigz > archive.tar.gz+find . -depth -print0 | cpio -0 -ov --format=ustar | pigz > archive.tar.gz
 ~~~ ~~~
  
tech/tar_avec_cpio.1783094401.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki