Questions tagged [gnu-tar]

gnu-tar is the implemented by Gnu of the tar command, it is the default tar on many Linux systems, but no on BSD & OSX. It has several extensions not found in other tars. Use this tag if you have a gnu-tar specific question. Otherwise, or if you don't know, use the more generic [tar]

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

GNU tar not ignoring directories in gitignore with --exclude-vcs-ignores

I have a git repo: rsh: ❯ cat rsh/.gitignore *.o shell build/ rsh_history And I'm attempting to tar it up using tar (GNU tar) 1.32. The command I'm using is: ❯ gtar cvaf rsh.tar.gz --exclude-vcs-...
1
vote
1answer
47 views

Unable to exclude directories while using tar

I have a folder in Home directory with the following structure: top-tree +-- .git +-- branch1 | +-- branch11 | +-- .idea | +-- branch111 | +-- branch112 | +-- branch113 |...
10
votes
2answers
1k views

Anonymous tarballs

Tar encodes my user name into the tarball. Can I force it to make a fully anonymous tarball? --owner root replaces only some instances of my user name. Adding USER=root: USER=root tar c --owner root ...