About 311,000 results
Open links in new tab
  1. linux - What does `tar -C` mean? - Super User

    Tar is used to handle archives (historically saved on tapes). The x tells it to extract files from the archive v stands for verbose j for bzip2 archive f indicates the file name finally: C tells it to change directory …

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

    Dec 31, 2022 · 20 When used with standard arguments tar xvf, the soft links are saved in the tar archive as soft-links. Then there are two cases: If your symlink is a full pathname, it might be broken when …

  3. How to tar a directory preserving not only permissions, but ownership ...

    Nov 10, 2014 · I have to compress a directory using tar.gz preserving not only permissions, but ownership/groups too. And, in this directory there are many files that belong to many users.

  4. How to combine the 'tar' command with 'find' - Super User

    Feb 1, 2015 · find var/log/ -iname "anaconda.*" -exec tar -rvf file.tar {} \; The -r option appends to the archive instead of recreating it every time. Note: Replace -iname anaconda.* with -iname …

  5. What is the advantage of using 'tar' today? - Super User

    Mar 16, 2013 · I know that tar was made for tape archives back in the day, but today we have archive file formats that both aggregate files and perform compression within the same logical file format. …

  6. linux - Why does attempting to extract a tar.gz file returns, “This ...

    tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors I output of the file command shows its a gzip file: $ file ldtp_3.5.0.orig.tar.gz …

  7. Is there a way to see any tar progress per file? - Super User

    Jul 28, 2010 · tar cvfj big-files.tar.bz2 folder-with-big-files The problem is that I can't see any progress, so I don't have a clue how long it will take or anything like that. Using v I can at least see when each …

  8. How to obtain maximum compression with .tar.gz? [duplicate]

    The way i understand the use of tar + gzip is that tar is normally used to consolidate a grouping of files into a single file, then gzip is used to compress that file. I recently learned that tar ...

  9. tar: Exiting with failure status due to previous errors

    However, I found that running the following command worked: tar -cpzf /backups/fullbackup.tar.gz --exclude=backups --exclude=proc --exclude=tmp --exclude=mnt --exclude=sys --exclude=dev - …

  10. Create .zip folder from the command line - (Windows)

    Oct 20, 2010 · @aschipfl The tar.exe (bsdtar) bundled with Windows actually does create a ZIP file with the -a flag, if the output file extension is .zip. Without the -a flag, it will produce a plain tar file and a …