What is the Linux shell equivalent of this Windows shell batch file command?
tar czf b.tgz --exclude="dontwant.tgz" @a.tgz
What I need to achieve:
a.tgzhas many files includingdontwant.tgz.- I want to create
b.tgzsuch that it has all files ina.tgzexceptdontwant.tgz.
@a.tgzhas an interesting meaning! I wouldn't have thought this to be a functionality of any shell. Wow! – Marcus Müller Dec 17 '21 at 17:09man tarandinfo tar. – waltinator Dec 17 '21 at 20:57@tarball– Chris Davies Dec 17 '21 at 21:20taryou're using etc. – polemon Dec 26 '21 at 15:33