About 4,260,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. 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 …

  3. what does -zxvf mean in tar -zxvf <filename>? [closed]

    I have seen on many websites commands like this what does the "-zxvf" or the similar commands stand for? tar -zxvf &lt;filename&gt; tar xvf &lt;filename&gt;

  4. What is the difference between tar and zip? [closed]

    A gzipped tar is a compressed collection (of uncompressed files). Thus a zip archive is a randomly accessible list of concatenated compressed items, and a .tar.gz is an archive that …

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

    Oct 16, 2010 · 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, …

  6. Extract files contained in archive.tar.gz to new directory named ...

    Jan 27, 2020 · Well, if you run $ tar -zxf some-archive.tar.gz -C ., (note the dot at the end) a new directory called some-archive/ will be created in the directory you are currently in.

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

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

  9. 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, …

  10. How to tar certain file types in all subdirectories?

    Sep 11, 2013 · 122 I want to tar and all .php and .html files in a directory and its subdirectories. If I use tar -cf my_archive * it tars all the files, which I don't want. If I use tar -cf my_archive *.php …

Refresh