About 357,000 results
Open links in new tab
  1. 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.

  2. archive - How do I tar a directory of files and folders without ...

    868 Use the -C switch of tar: tar -czvf my_directory.tar.gz -C my_directory . The -C my_directory tells tar to change the current directory to my_directory, and then . means "add the entire current directory" …

  3. How to install node.tar.xz file in linux - Stack Overflow

    Aug 8, 2020 · I found the answer finally! if anyone is struggling with .tar.xz files then follow the below steps for installation: EXTRACT THE FILE (Use either terminal or right-click on the file and click …

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

  5. linux - Tar archiving that takes input from a list of files - Stack ...

    The tar man page is extremely unhelpful for this option (at least on RedHat 5.4 thru 6.3): "-T: get names to extract or create from file F". "Extract or create" sounds like it applies to taking files out of the tar …

  6. linux - gzip: stdin: not in gzip format tar: Child returned status 1 ...

    Sep 22, 2016 · This means the file isn't really a gzipped tar file -- or any kind of gzipped file -- in spite of being named like one. When you download a file with wget, check for indications like Length: …

  7. gzip - How to check if a Unix .tar.gz file is a valid file without ...

    Jan 4, 2010 · To test the gzip file is not corrupt: gunzip -t file.tar.gz To test the tar file inside is not corrupt: gunzip -c file.tar.gz | tar -t > /dev/null As part of the backup you could probably just run the …

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

    In previous versions, it was sufficient to install the remote-ssh extension and then download the vscode-server-linux-x64.tar.gz file, extract it, and copy it to the server directory ~/.vscode-serv...

  9. linux - How to tar a set of files? - Stack Overflow

    Mar 4, 2013 · 36 To simply create a tarball of these files I would just do: tar cf ones.tar 1_*.txt tar cf twos.tar 2_*.txt Most likely you want to compress the tarballs, so use the z option: tar czf ones.tar.gz …

  10. How do I delete a single file from a tar.gz archive

    Jun 21, 2015 · The --delete option is specific to some tar programs (notably the default available under linux). From memory, the default tar under macos does not support that. You'll need to read the …