Forrest logo
back to context overview

tar

List of commands for tar:

  • tar:ai:3c72e How do I use xsv on a compress .csv.tar.gz file without extracting it
    $ tar -xOzf file.csv.tar.gz | xsv ${xsv_options}
    try on your machine
    explain this command
  • tar:ai:8a5c0 How do I use xsv on a compress .csv.tar.gz file
    $ tar -xvzf file.csv.tar.gz && xsv ${options} file.csv
    try on your machine
    explain this command
  • tar:ai:c7d12 Compresses the saurabh directory into a tarball with gzip compression
    $ tar -czvf saurabh.tar.gz saurabh/
    try on your machine
    explain this command
  • tar:ai:d40a3 Extracts a .tar.bz2 file using the tar command.
    $ tar -xf file.tar.bz2
    try on your machine
    explain this command
  • tar:tldr:52f42 tar: Lis[t] the contents of a tar [f]ile [v]erbosely.
    $ tar tvf ${path-to-source-tar}
    try on your machine
    explain this command
  • tar:tldr:64877 tar: E[x]tract a (compressed) archive [f]ile into the current directory [v]erbosely.
    $ tar xvf ${select}
    try on your machine
    explain this command
  • tar:tldr:9e120 tar: E[x]tract a (compressed) archive [f]ile into the target directory.
    $ tar xf ${select} --directory=${path-to-directory}
    try on your machine
    explain this command
  • tar:tldr:a9329 tar: [c]reate a g[z]ipped archive from a directory using relative paths.
    $ tar czf ${path-to-target-tar-gz} --directory=${path-to-directory} .
    try on your machine
    explain this command
  • tar:tldr:c3df1 tar: E[x]tract files matching a pattern from an archive [f]ile.
    $ tar xf ${path-to-source-tar} --wildcards "${*-html}"
    try on your machine
    explain this command
  • tar:tldr:e18bf tar: [c]reate a compressed archive and write it to a [f]ile, using [a]rchive suffix to determine the compression program.
    $ tar caf ${path-to-target-tar-xz} ${filename1 filename2 ---}
    try on your machine
    explain this command
back to context overview