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. bash - Listing the content of a tar file or a directory only down to ...

    I wonder how to list the content of a tar file only down to some level? I understand tar tvf mytar.tar will list all files, but sometimes I would like to only see directories down to some level.

  3. Shell command to tar directory excluding certain files/folders

    Jun 12, 2009 · Is there a simple shell command/script that supports excluding certain files/folders from being archived? I have a directory that need to be archived with a sub directory that has a number of …

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

    Sep 8, 2013 · So, that when I extract, files are extracted in the current directory and I don't need to move extracted files afterwards, and so that sub-directory structures is preserved. There are already many …

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

    3 If you want to tar files while keeping the structure but ignore it partially or completely when extracting, use the --strip-components argument when extracting.

  6. Native .tar extraction in Powershell - Stack Overflow

    I have a .tar.gz file that I need to extract. I've handled the gunzip bit with the GzipStream object from System.IO.Compression, but I couldn't find anything for dealing with tarballs in that names...

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

    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 …

  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. 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?

  10. linux - Shell 'tar: not found in archive' error when using regular ...

    Jun 5, 2013 · the tar command sees (for example): This is interpreted as a request to extract def.tar.gz and ghi.tar.gz from the archive abc.tar.gz. Since the files aren't in there, you get the warning …