New answers tagged tar
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 ...
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*
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 -...
15
votes
Accepted
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 ...
Top 50 recent answers are included
Related Tags
tar × 757linux × 389
compression × 109
archiving × 85
bash × 84
gzip × 82
unix × 77
zip × 57
command-line × 56
backup × 55
ubuntu × 43
windows × 38
7-zip × 36
macos × 30
ssh × 24
bzip2 × 18
extract × 16
windows-7 × 15
shell × 15
debian × 14
permissions × 13
find × 13
gz × 13
filesystems × 12
rsync × 12