Sample Header Ad - 728x90

Anonymous tarballs

17 votes
2 answers
2743 views
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 data has no effect. In short, I wish for: echo hello world > data; tar c --owner root data | grep "$USER" to **not** match.
Asked by Petr Skocik (29590 rep)
Apr 21, 2016, 07:10 AM
Last activity: Apr 21, 2016, 12:47 PM