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. Tar piping creates error during run and stops - Stack Overflow

    May 12, 2024 · Tar piping has been mentioned a lot to be fast and I agree. AFAIK it is working and the issue I have mentioned is the only issue I have with it. Sometimes it stops. It seems like that the …

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

  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. tar - How to untar a file - Stack Overflow

    Aug 3, 2019 · 3 I usually use this command to extract the tar.gz to the same directory: tar -zxvf lammps-stable.tar.gz You should run this command on the directory where the file is located. Otherwise the …

  9. linux - How to prevent tar extraction from overwriting symbolic links ...

    Mar 25, 2015 · After running this command tar -xvf symlink1.tar.gz symlink1: total 0 -rw-r--r-- 1 root root 0 Mar 24 18:14 iNeedThisfile.txt Any flags while extracting which preserves the symbolic links while …

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

    Jun 5, 2013 · Sometimes, you want to extract files with the * in the name. For example: tar -xf abc.tar.gz 'src/prog/*name.*' would extract files such as src/prog/bigname.c, src/prog/smallname.h; the single …