Quote:
Originally Posted by Nomaad
Hello,
What is the command to add files to an existing tar file.
Thanks,
For all of you who may have the same question and couldn't figure our why you can't add a file to an existing tar file; Try this:
when creating the tar file use this command:
tar -cvbf 64 tarfile fileyouwant2add2tarfile
When adding to the above tar file use this command:
tar -rvbf 64 tarfile fileyouwant2add2tarfile
The broblem I had was realted to the block size and in may case the maximum was 64. Make sure to maintain the same sequence of arguments:
if you use the option as [bf], then arguments will need to be like [64 tarfile]
if you use the option as [fb], then arguments will need to be like [tarfile 64]