?? tp.1
字號:
.TH TP 1 deprecated.SH NAMEtp \- manipulate tape archive.SH SYNOPSIS.B tp[ key ] [ name ... ].SH DESCRIPTION.I Tpsaves and restores fileson DECtape or magtape.Its actions are controlled by the.I keyargument.The key is a string of characters containingat most one function letter and possiblyone or more function modifiers.Other arguments to the command are file or directorynames specifying which files are to be dumped, restored,or listed.In all cases, appearance of a directory name refers tothe files and (recursively) subdirectories of that directory..PPThe function portion ofthe key is specified by one of the following letters:.TP 8.B rThe named filesare writtenon the tape.If files with the same namesalready exist, they are replaced.`Same' is determined by string comparison, so`./abc' can never be the same as `/usr/dmr/abc' evenif `/usr/dmr' is the current directory.If no file argument is given, `\fB.\fR' is the default..TP 8.B uupdates the tape..B uis like.B r,but a file is replaced only if itsmodification date is later than the date stored on the tape;that is to say, if it has changed since it was dumped..B uis the default command if none is given..TP 8.B ddeletes the named files fromthe tape.At least one name argument must be given.This function is not permitted on magtapes..TP 8.B xextracts the named files from the tape to the file system.The owner and mode are restored.If no file argument is given, the entire contents of thetape are extracted..TP 8.B tlists the names of the specified files.If no file argument is given,the entire contents of the tape is listed..PPThe following characters may be used in addition to the letterwhich selects the function desired..TP 10.B mSpecifies magtape as opposed to DECtape..TP 10.B 0,...,7Thismodifier selects the drive on which the tape is mounted.For DECtape, .B xis default; for magtape`0' is the default..TP 10.B vNormally.I tpdoes its work silently.The.B v(verbose)option causes it to type the name of each file it treatspreceded by the function letter.With the.B tfunction,.B vgives more information about thetape entries than just the name..TP 10.B cmeans a fresh dump is being created; the tape directoryis cleared before beginning.Usable only with.B rand.B u.This option is assumed with magtape sinceit is impossible to selectively overwritemagtape..TP 10.B iErrors reading and writing thetape are noted, but no action is taken.Normally, errors cause a return to the command level..TP 10.B fUse the first named file, rather than a tape,as the archive.This option is known to work only with.BR x ..TP 10.B wcauses.I tpto pause before treating each file, typethe indicative letter and the file name (as with.BR v )and await the user's response.Response.B ymeans `yes', so the file is treated.Null responsemeans `no', and the file does not take partin whatever is being done.Response.B xmeans `exit';the.I tpcommand terminates immediately.In the.B xfunction,files previously asked abouthave been extracted already.With.B "r, u,"and.B dno change has been made to the tape..PP.SH FILES/dev/tap?.br/dev/mt?.SH SEE ALSOar(1), tar(1).SH DIAGNOSTICSSeveral; the non-obvious one is`Phase error', which means the file changed after it was selected fordumping but before it was dumped..SH BUGSA single file with several links to it is treated like several files..PPBinary-coded control information makesmagnetic tapes written by.I tpdifficult to carry to other machines;.IR tar (1)avoids the problem.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -