About 23,200,000 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. 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 …

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

  6. installation - How do I install vscode-server offline on a server for ...

    The downloaded file was named vscode-server-linux-x64.tar.gz. If the process times out before the message waiting for vscode-cli-${COMMIT}.tar.gz.done and vscode-server.tar.gz exist appears, you …

  7. linux - tar: Error is not recoverable: exiting now - Stack Overflow

    The tar program can use external compression programs gzip, bzip2, xz by opening a pipe to those programs, sending a tar archive via the pipe to the compression utility, which compresses the data …

  8. How can I build a tar from stdin? - Stack Overflow

    Apr 8, 2010 · Something like: tar cfz foo.tgz --files-from=- But keep in mind that this won't work for all possible filenames; you should consider the --null option and feed tar from find -print0. (The xargs …

  9. shell - Extracting .tar file isn't working - Stack Overflow

    Now I'm trying to extract the .tar file using tar -xv filename.tar. My Problem The extraction doesn't seem to be working! After I've typed the tar -xv filename.tar command and hit enter, the shell isn't returning …

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