tar keeps running
if I do the following:
Code:
tar -tvf /dev/st0 home/mydirectory/folder/myfile.txt thanks manuel |
tar files can contain multiple occurrences of a file, so by default it will scan right to the end of the file to report subsequent instances of the file if they exist. You can tell GNU tar (not sure about other implementations) to report just one occurrance using the --occurrance option. This is documented in the info pages (but not the debian man page, which is incomplete).
Code:
tar -tvf /dev/st0 --occurrence home/mydirectory/folder/myfile.txt Notice that the --occurrence option can take a numerical argument. For example, to list the third occurrance of the file, use Code:
tar -tvf /dev/st0 --occurrence=3 home/mydirectory/folder/myfile.txt |
All times are GMT -5. The time now is 02:59 AM. |