About 50 results
Open links in new tab
  1. archive - How do I tar a directory of files and folders without ...

    I typically do: tar -czvf my_directory.tar.gz my_directory What if I just want to include everything (including any hidden system files) in my_directory, but not the directory itself? I don't want:

  2. linux - tar: add all files and directories in current directory ...

    I try to tar.gz a directory and use tar -czf workspace.tar.gz * The resulting tar includes .svn directories in subdirs but NOT in the current directory (as * gets expanded to only 'visible' files ...

  3. Tar a directory, but don't store full absolute paths in the archive

    Sep 8, 2013 · There are already many questions about tar and backuping in stackoverflow and at other places on the web, but most of them ask for dropping the entire sub-directory structure (flattening), or …

  4. linux - How to extract filename.tar.gz file - Stack Overflow

    0 A tar.gz is a tar file inside a gzip file, so 1st you must unzip the gzip file with gunzip -d filename.tar.gz , and then use tar to untar it. However, since gunzip says it isn't in gzip format, you can see what …

  5. linux - How do I tar a directory without retaining the directory ...

    tar -czf destination.tar.gz -C source/directory $(ls source/directory) This solution: Includes all files and folders in the directory Does not include any of the directory structure (or .) in the final product Does …

  6. How to load a Docker image from a tar file - Stack Overflow

    Jan 28, 2021 · The .tar created from docker save provides a ton of context that is lost when imported with docker import -- using docker load -i instead maintains that context and allows the image to be …

  7. How can I decompress an archive file having .zst or tar.zst?

    Jul 27, 2017 · Suppose I have two files: file1.zst file2.tar.zst How can I decompress these files in terminal?

  8. Docker pull Error - failed to register layer: Error processing tar file ...

    Mar 11, 2023 · I am getting an error when trying to pull docker images on my Ubuntu machine. Below is an example of when I get the error. - $ sudo docker pull postgres:14 14 ...

  9. ubuntu - Truncated tar archive error - Stack Overflow

    Jul 23, 2016 · The file has a .gz suffix but is not actually compressed. You may check this with the file command: $ file HeteroMirPred.tar.gz HeteroMirPre.tar.gz: POSIX tar archive Just drop the z from …

  10. installation - How to install Python packages from the tar.gz file ...

    Mar 15, 2016 · I've extracted the files from the tar.gz file and there is a "setup" file within but it's not doing much for me. If someone could explain how to install python packages in this manner without …