rapidfx: переводы
Inferno man pages -1 - gettar, lstar, puttar / Руководство по ОС Inferno - раздел 1 - gettar, lstar, puttar
→The following commands create a tar file with two files test.b and srv.b:
$ cat tarlist
test.b
srv.b
$ puttar <tarlist>test.tar
$ lstar appl/cmd/gettar.b
/appl/cmd/lstar.b
/appl/cmd/puttar.b</tarlist>
$ cat tarlist
test.b
srv.b
$ puttar <tarlist>test.tar
$ lstar appl/cmd/gettar.b
/appl/cmd/lstar.b
/appl/cmd/puttar.b</tarlist>
0 Следующая команда создает tar-файл с двумя файлами test.b и srv.b:
$ cat tarlist
test.b
srv.b
$ puttar test.tar
$ lstar appl/cmd/gettar.b
/appl/cmd/lstar.b
/appl/cmd/puttar.b
$ cat tarlist
test.b
srv.b
$ puttar test.tar
$ lstar appl/cmd/gettar.b
/appl/cmd/lstar.b
/appl/cmd/puttar.b
→Puttar writes a tar file to standard output that contains each file, and its substructure if it is a directory. Given no arguments, puttar instead reads a list of file names from standard input and includes each file or directory named; it does not copy directory substructure.
0 Puttar записывает tar-файл в поток стандартного вывода, который содержит каждый файл, и его под-структуру если это каталог. Без аргументов, puttar вместо чтения списка имен файлов со стандартного ввода и включения каждого файла или каталога, он не копирует структуру подкаталогов.
→Lstar reads a tar file from standard input and lists the files contained therein, one per line, with four space-separated fields giving the file name, modification time (in seconds since the epoch), size (in bytes), and a constant 0 (the place holder for a checksum). The format is the same as that produced by du -n -t.
0 Lstar считывает tar-файл со стадартного ввода и выдает список имен файлов, который он содержит, по одному имени на строку, с полями разделенными четырьмя пробелами, содержащими имя Файла, время модификации (в секундах с начала эпохи), размер (в байтах), и константу 0 (поле зарезервировано для контрольной суммы). Формат аналогичен выводимому командой du -n -t.
→These commands manage POSIX.1 tar archives in Inferno.
Gettar reads a tar file from standard input and unpacks the contents into the current directory tree. By default, gettar converts absolute path names, including names starting with #, into names relative to the current directory; the -R option extracts such names as-is. The -k option tells gettar to keep existing files rather than overwriting them with files from the archive. The -v option causes gettar to print on standard error the names of files extracted. Finally, listing one or more names as arguments will extract only those files.
Gettar reads a tar file from standard input and unpacks the contents into the current directory tree. By default, gettar converts absolute path names, including names starting with #, into names relative to the current directory; the -R option extracts such names as-is. The -k option tells gettar to keep existing files rather than overwriting them with files from the archive. The -v option causes gettar to print on standard error the names of files extracted. Finally, listing one or more names as arguments will extract only those files.
0 Эти команды манипулируют tar-архивами POSIX.1 в Inferno. Gettar читает tar-файл со стандарного ввода и распаковывает содержимое в текущий каталог. По умолчанию, gettar конвертирует абсолютные пути, включая имена начинающиеся со знака #, в имена относительно текущего каталога; опция -R извлекает такие имена как есть. Опция -k сообщает gettar сохранять существующие файлы в каталоге вместо перезаписывания их из архива. Опция -v сообщает gettar выводить в стандартный поток ошибок имена распковываемых файлов. И наконец, список из одного или большего числа имен файлов заданных в качестве аргумента приведет к извлечению только этих файлов.
→tarfs(4)
0 tarfs(4)
→SEE ALSO
0 СМОТРИ ТАКЖЕ
→EXAMPLE
0 ПРИМЕР
→DESCRIPTION
0 ОПИСАНИЕ
0 gettar [ -k ] [ -v ] [ -R ] [ name ... ]
lstar
puttar [ file ... ]
lstar
puttar [ file ... ]
→SYNOPSIS
0 РЕЗЮМЕ
→gettar, lstar, puttar - tar archive utilities
0 gettar, lstar, puttar - инструменты для работы с tar-архивами
Резюме
- Пол:
- мужчина
- Родной язык:
- русский
- С нами:
- с 13 апреля 2009 г. (6395 дней)
- Деятельность:
-
1085 версий перевода
с общим рейтингом 0
3 комментария
Карма: 2 (оценок: 2)
