Quote:
Originally posted by sneezesnoeze
I use the command
tar cvzf myarchive .
So I did build the archive in the directory I wanted to archive.
When I use
tar cvzf /home/user/myarchive .
I don't have these errors.
Can anyone explain this to me
Kind regards
Sneeze
|
Youre trying to archive . into ./myarchive which is obviously part of .
It is generally a better idea to do a cd .. before, and
tar cvzf arch.tgz mydirectory
or
tar cvzf ../arch.tgz .