Pax (Unix)

Cet article manque de repères chronologiques ou de dates (septembre 2023).

Pax (Unix)

Pax

Informations
Système d'exploitation GNU/Linux et BSDVoir et modifier les données sur Wikidata
Type Utilitaire UNIX (d)Voir et modifier les données sur Wikidata

pax est un utilitaire d'archivage ainsi qu'un format de fichier utilisé sur Unix depuis [Quand ?]. Il est similaire à tar et cpio, et ses spécifications sont définies par le standard IEEE 1003.2 (POSIX.2). Le but de cet utilitaire est de réunir les outils d'archivages similaires tar et cpio en une seule commande dont les options, le format et le comportement sont standardisés.

Utilisation

pax comporte deux modes principaux :

  • w (write) : pour la création d'archive
  • r (read) : pour l'extraction d'une archive
  • r et w : pour le mode de copie d'une partie de l'arborescence de fichiers vers une autre
  • Extraction de fichiers d'une archive pax :
pax -r < test.pax 
  • Création d'une archive pax :
find ./tmp -depth -print | pax -wd -f test.pax 
  • Lecture du contenu d'une archive :
pax -f test.pax 
  • Mode de copie vers un nouveau répertoire :
find . -print -depth | pax -r -w /Nouveau/Repertoire

Notes et références

Voir aussi

Liens externes

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.