As of May 31, 2023, we have updated our Code of Conduct.

New answers tagged

0 votes

Decompress a tar.xz file using all cores

As of xz 5.4.1 (December 2022), there is support for parallel decompression with -T0. However, the tar file format necessitates a sequential read, so some buffering up to thread_count * block_size ...
Mingye Wang's user avatar
1 vote

How do I tar ball a directory hierarchy with soft links in Linux?

Just another way, using /etc as an example: find /etc | cpio -puvdm . ; tar czf ttt.tgz etc rm -rf etc tar xvzf ttt.tgz ls -l etc/rc*
ufo02's user avatar
  • 11
4 votes

How to list only tar files

The other answer does a great job of telling you why your specific solution isn't working so I won't harp on that. You should use a robust command like find sudo find /var/opt/gitlab/backups -type f -...
MonkeyZeus's user avatar
  • 8,850
15 votes

How to list only tar files

Wildcard expansions are done by the shell, not by 'ls'. In other words, they don't wait for 'sudo' to take effect. When your shell doesn't have permissions to see the files inside a protected ...
user1686's user avatar
  • 416k

Top 50 recent answers are included