tar command have an option to skip/ignore tar-ing the already tar-ed files?
consider I had a
file1.txt and it's tar-ed as
file1.tar.gz , now I copied another copy of
file1.txt and a lot of other files like
what I expect, when tar-ing all these files, don't tar
file1.txt again; I'm not interested in excluding all
*.tar.gz files since it doesn't telling
tar command to don't pick
file1.txt to tar.
What I need actually prevent
file1.txt to pick by
tar command to do tar it as
file1.tar.gz again which that's exist before (right now its overwriting).
Note: I could write a script, but I want to make sure,
tar command cannot do this.