Rechercher une page de manuel
tar.3tcl
Langue: en
Version: 0.2 (ubuntu - 01/11/07)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
tar - Tar file creation, extraction & manipulationSYNOPSIS
package require Tcl 8.4package require tar ?0.2?
::tar::contents tarball
::tar::stat tarball ?file?
::tar::untar tarball args
::tar::get tarball fileName
::tar::create tarball files args
::tar::add tarball files args
::tar::remove tarball files
DESCRIPTION
- ::tar::contents tarball
- Returns a list of the files contained in tarball.
- ::tar::stat tarball ?file?
- Returns a nested dict containing information on the named ?file? in tarball, or all files. the top level are pairs of filename and info. The info is a dict in the form mode uid gid size mtime type linkname uname gname devmajor devminor
% ::tar::stat tarball.tar foo.jpg {mode 0644 uid 1000 gid 0 size 7580 mtime 811903867 type file linkname {} uname user gname wheel devmajor 0 devminor 0} - ::tar::untar tarball args
- Extracts tarball
-
- -dir dirName
- -file fileName
- -glob pattern
- -nooverwrite
- -nomtime
- -noperms
-
- ::tar::get tarball fileName
- Returns the contents of fileName from the tarball
- ::tar::create tarball files args
- Creates a new tar file containing the files
-
- -dereference
-
- ::tar::add tarball files args
- Appends files to the end of the existing tarball
-
- -dereference
-
- ::tar::remove tarball files
- Removes files from the tarball
KEYWORDS
archive, tape archive, tar
ALLÉLUIA !
P : Jésus est vivant !! Jésus est vivant ! Jésus est vivant ! Passe-moi le fusil à pompe...
P : Jésus est vivant !! Jésus est vivant ! Jésus est vivant ! Passe-moi le fusil à pompe...
Contenus ©2006-2008 Benjamin Poulain
Design ©2006-2008 Maxime Vantorre