I want add file into to a tar file(just append file at the end of tar. how
to do this ?
e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite the
tape.
e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite the
tape.
> e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite the
> tape.
> e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite the
> tape.
--
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Maybe he can find something like:Quote:> have you looked the tar manual page ?
tar uf $FILE $PATH
Peter
--
>> have you looked the tar manual page ?
> Maybe he can find something like:
> tar uf $FILE $PATH
> Peter
>> I want add file into to a tar file(just append file at the end of tar.
>> how
>> to do this ?
>> e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite
>> the
>> tape.
> Use the "r" operation instead of "c" to append files to an existing
> archive.
> --
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***
>>> I want add file into to a tar file(just append file at the end of tar.
>>> how
>>> to do this ?
>>> e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite
>>> the
>>> tape.
>> Use the "r" operation instead of "c" to append files to an existing
>> archive.
r and u options are supported when writing to a tape device.
>>>> I want add file into to a tar file(just append file at the end of tar.
>>>> how
>>>> to do this ?
>>>> e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite
>>>> the
>>>> tape.
>>> Use the "r" operation instead of "c" to append files to an existing
>>> archive.
> Please, don't top post,
> r and u options are supported when writing to a tape device.
http://www.caliburn.nl/topposting.html
> e.g. Now, I am using tar cvf /dev/rmt/0m /data/* . Each time overwrite the
> tape.
Be aware that putting a new record on a tape is different from
appending to an existing record.
It's also safer. If one of the records is bad, you can use mt(1) to
skip over that record to read the next.
--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
#tar cvf /dev/rmt/2m *.txt
a abc.txt 6 tape blocks
a dump_time.txt 59 tape blocks
#tar rvf /dev/rmt/2m *.txt2
a drwg.txt2 282 tape blocks
a y.txt2 5 tape blocks
#tar rvf /dev/rmt/2m *.txt2
a drwg.txt2 282 tape blocks
a y.txt2 5 tape blocks
#tar tvf /dev/rmt/2m
-rw-r--r-- 0/1 2754 Nov 3 08:54 2005 abc.txt
-rw-r--r-- 1013/10 29882 Jan 16 08:48 2006 dump_time.txt
-rw-r--r-- 1013/10 144176 Oct 16 08:52 2002 drwg.txt2
-rw-r--r-- 1013/10 2264 May 5 14:31 2005 y.txt2
#tar tvf /dev/rmt/2m
-rw-r--r-- 0/1 2754 Nov 3 08:54 2005 abc.txt
-rw-r--r-- 1013/10 29882 Jan 16 08:48 2006 dump_time.txt
-rw-r--r-- 1013/10 144176 Oct 16 08:52 2002 drwg.txt2
-rw-r--r-- 1013/10 2264 May 5 14:31 2005 y.txt2
-rw-r--r-- 1013/10 144176 Oct 16 08:52 2002 drwg.txt2
-rw-r--r-- 1013/10 2264 May 5 14:31 2005 y.txt2
>>> have you looked the tar manual page ?
>> Maybe he can find something like:
>> tar uf $FILE $PATH
>> Peter
> That's not the faster option.
1. Can tar add files to .tar.gz archives ?
The command
tar rzf archive.tar.gz file
returns "abort"
If I don't want to ungzip the archive, I can't add files to it, isn't?
Thanks !
2. run X non-root on r.h. 6.2?
3. tar xzf file or tar -xzf file?
4. Welcome to comp.unix.shell [Frequent posting]
5. Scripting Help: tar a dir with time and date as file tar file name..................TIA
7. Wanted: rcmd host tar x_?_vqf file.tar file1 ... fileN | tar xvf -
9. tar extract using file of files
10. tar, list of files and files with spaces in the name
11. display the file contents of a large tar.Z file
12. CDROMs, tar files and virtual file systems..
13. Append to files in tar-file but don't change originals.