Распаковщик tar gz для windows

Выберите вариант загрузки:

  • скачать с сервера SoftPortal (установочный exe-файл)
  • скачать с официального сайта (установочный exe-файл)

PowerArchiver — мощный архиватор, имеющий полную поддержку архивов форматов ZIP, CAB, LHA (LZH), TAR, TAR.GZ, TAR.BZ2, BH (BlakHole), RAR, RAR v.3.0, ARJ, ARC, ACE, ZOO, GZ и BZIP2, умеет работать с файлами UUE и XXE и расширениями электронной почты MIME (полное описание…)

Рекомендуем популярное

WinRAR 7.11

WinRAR — мега популярный архиватор, умеющий обрабатывать практически любые форматы архивов…

7-Zip 24.09

7-Zip — абсолютно бесплатный функциональный архиватор с высокой степенью сжатия и…

WinZip 27.0 build 15240

WinZip — мощная программа для работы как с Zip-файлами, так и с архивами других форматов….

PeaZip 10.4.0

PeaZip — бесплатный архиватор поддерживающий самые распространенные форматы архивов: 7Z, ACE,…

FreeArc 0.666

FreeArc — весьма неплохой архиватор, который оснащен разнообразными наборами методов сжатия, обеспечивая высокую степень упаковки данных и хорошую производительность…

0

28.07.201822:1028.07.2018 22:10:56

Архивы tar.gz легко распаковываются с помощью WinRAR или 7zip.

Сложность в windows представляют многотомные архивы tar.gz

Выгрузив резервную копию сайта на битрикс распаковывается только первая часть архива, для того чтобы распаковались все части нужно переименовать файлы.

Первую часть архива нужно переименовать в .tar.gz.001, т.е:

.tar.gz в .tar.gz.001

а в последующих частях переименовать и увеличить номер части на один:

.tar.gz.1 в .tar.gz.002

.tar.gz.2 в .tar.gz.003

.tar.gz.3 в .tar.gz.004

………………….. и т.д.

Теперь после переименования многотомные архивы tar.gz распаковываются полностью WinRAR или 7zip.

A .tar.gz file, also known as a tarball, is a compressed archive used in UNIX and Linux systems. This format involves multiple files bundled into a single archive and compressed using gzip compression.

Although .tar.gz is commonly associated with UNIX and Linux distributions, you can also extract these files in Windows using various third-party tools.

This tutorial will show you how to extract .tar.gz files in a Windows environment.

How to Extract a .tar.gz File in Windows

Requirements

  • A Windows system (this tutorial uses Windows 11).
  • WinRAR, WinZip, and 7-Zip installed (for specific examples).
  • The tar tool (for some examples).
  • Access to Command Prompt.

How to Extract .tar.gz File in Windows

Since Windows doesn’t natively support .tar.gz files, extracting involves third-party tools or non-native commands. The following text outlines the process of extracting a .tar.gz file in a Windows environment.

Extract .tar.gz File in Windows Using tar Command

The tar (tape archive) command is a command-line utility for archiving files. 

The command bundles multiple files and directories into a single file archive but doesn’t compress data on its own. Therefore, it is often used with compression tools, such as gzip (tar.gz files) or bzip2 (tar.bz2 files), to reduce the overall archive size.

The tar command is not a native Windows command. It usually doesn’t come preinstalled in older Windows systems. However, newer versions (starting from Windows 10) have it preinstalled.

The following example shows how to extract a .tar.gzip file called archive_1 using the tar command. The archive_1 consists of three files: sample_file1, sample_file2, and sample_file3.

To extract the files using tar:

1. Open the Command Prompt.

2. Use the cd command to navigate to the directory the archive is in. In this case:

cd C:\files
cd command terminal output

3. Use the following syntax to extract files:

tar -zxvf [archive_name.tar.gz]

This command consists of:

  • -z. Specifies the input is compressed with gzip.
  • -xStands for extract.
  • -vEnables verbose mode to provide detailed output during extraction.
  • -fSpecifies the filename to be extracted.

For instance, in our case:

tar -zxvf archive.tar.gz
tar -zxvf archive.tar.gz terminal output

The output lists extracted files.

Note: Master the Command Prompt with our cmd commands guide which features a free downloadable cheat sheet.

Extract .tar.gz File in Windows Using 7-Zip

For a more GUI-friendly approach to extracting .tar.gz files, use 7-Zip.

Follow these steps to extract files from a .tar.gz archive:

1. Right-click the archive.

2. Find and hover over 7-Zip.

Right-click archive 7 zip

3. Choose Extract Here to extract files to the archive folder.

Extract here option in 7-Zip

4. Alternatively, select Extract files to pick where to extract the files.

Extract Files option in 7-zip

 A new window opens to manage where and how to extract files.

Extract files 7-Zip window

Extract .tar.gz File in Windows Using WinRAR

Another way to access archive files is to extract them via WinRar. To accomplish this, follow these steps:

1. Right-click the archive.

2. Hover over the WinRar icon.

Access WinRAR

3. Choose Extract Here to extract the file to your current location.

choose WinRAR extract here

Alternatively, select one of the offered locations or set one up by clicking the Extract files… option.

WinRAR extract options

Extract .tar.gz File in Windows Using WinZip

Extracting .tar.gz files using WinZip is also quite straightforward.

To get the files, follow these steps:

1. Right-click the archive file and hover over WinZip.

right-click archive Winzip

2. Choose whether to unzip to one of the offered locations or define one with the Unzip to… option.

Unzip to different options window

The Unzip to…option opens up another window with extra settings.

Winzip options window

3. Select Unzip to start the process.

Conclusion

After reading this article, you know how to extract .tar.gz files in Windows using the tar command, 7-Zip, WinZip, or WinRAR.

Next, learn how to extract .tar.gz files in Linux.

Was this article helpful?

YesNo

Last Updated :
30 Sep, 2024

If you’re trying to extract a TAR file on Windows, particularly a .tgz or tar.gz file, there are several ways to do it easily. Although Windows doesn’t natively support extracting these files, there are plenty of TAR file extraction tools for Windows that can help you. This guide will show you how to open .tgz files on Windows and outline the steps to effectively unpack TAR files using third-party tools or commands.

Table of Content

  • Steps to Extract TAR Files (.tgz) in Windows
    • Method 1: Extract TAR Files Using Command Prompt
    • Method 2: Extract TAR Files Using Third-Party Applications
    • Method 3: Extract TAR Files Using Online Converters
  • How to Extract a TAR File (.tgz) on Windows — FAQs

For unzipping TAR Files on Windows, the following methods should be used. We will start with one simple command where no third-party application help will needed.

Method 1: Extract TAR Files Using Command Prompt

Step 1: Search for the Command Prompt in the Search Bar. Open the prompt in the Administrative Format.

Step 2: Execute the following command. It will help to convert the TAR File to File Explorer Format without having much time. It will take some time to complete the process.

 Command: tar -xvzf <TAR-FIle-Location> -C <New-Location>

2--Execute-Command

If you want to extract the TAR Files on your local device, then have any third-party application on your device. There are many third-party applications present like 7-Zip or WinZip, etc. Using any one of those, you can Open TAR FIle on Windows.

You have to download & install the third-party apps on the device. Later, select any one TAR file & it will be directly converted to the simple folder structure. To open any TAR Folder inside the new one, select it again.

Hooray! You now have one third-party application installed on the device to Unzip Linux TAR Format on Windows.

Now, if you want to get your job reduced to some folds, there is another option present. It is to Extract the TGZ File Online. There are many Online Converters present on the internet that can be used for successful conversion.

You have to select the TAR File & want to choose the operation. If you want, it will convert the TAR File to RAR file which is the Native File Compressor for Windows. Or it can directly extract the files on your desktop.

4--Converter

Conclusion

Extracting TAR files on Windows is simple with the right tools. Whether you’re using a third-party utility or command-line options, knowing how to extract .tgz files can help you manage compressed files efficiently. By following these steps, you’ll be able to unzip TAR files on Windows with ease and have access to the data you need without any hassle.

Если у вас есть файлы .tar.gz, .tgz или .gz, вы можете использовать шаги ниже, чтобы использовать инструмент командной строки tar для извлечения его содержимого в Windows 10.

Файл в формате.tar.gz — это файл, который был создан с использованием tar -архива приложения на основе Unix, а затем сжат с использованием сжатия gzip. Эти файлы часто вы можете найти с двойным расширением (.tar .gz), расширение также можно сократить до.tgz или.gz.

Обычно tar-файлы используются пользователями Ubuntu и macOS для архивирования данных и резервного копирования, но иногда пользователи Windows 10 также могут столкнуться с этими типами файлов и могут нуждаться в извлечении их содержимого.

Хотя вы можете использовать ряд сторонних приложений, таких как 7-Zip, иногда эти приложения плохо работают с файлами, созданными на другой платформе, и медленно распаковывают большое количество файлов. К счастью Windows 10 включает встроенную поддержку tar, вы можете использовать командную строку (CMD) для распаковки этих файлов. Кроме того, вы даже можете использовать подсистему Windows для Linux (WSL), которая обеспечивает встроенную поддержку Ubuntu, Fedora и SUSE, следовательно, вы также можете получить доступ ко многим инструментам Linux, включая tar, для быстрого извлечения содержимого из tar-архивов.

В этом руководстве вы узнаете, как использовать собственные команды tar в Windows 10 с помощью командной строки и Ubuntu для извлечения содержимого файла .tar.gz.

  • Содержание
    • Как извлечь tar-архивы .tar.gz, .tgz или .gz, используя tar в Windows 10
    • Как извлечь tar-архивы .tar.gz, .tgz или .gz, используя tar в Linux на Windows 10

Как извлечь tar-архивы .tar.gz, .tgz или .gz, используя tar в Windows 10

Используйте эти шаги для извлечения .tar.gz, .tgz, .gz и .zip файлов с использованием tar в Windows 10 без необходимости установки подсистемы Windows для Linux:

Шаг 1: Откройте меню «Пуск». Начните набирать Командная строка, кликните правой кнопкой мыши первый результат в поиске и выберите параметр «Запуск от имени администратора».

Откройте меню «Пуск». Начните набирать Командная строка

Шаг 2: Введите следующую команду, чтобы использовать tar для распаковки файлов, и нажмите Enter :

tar -xvzf C:\путь_к_архиву\имя_архива.tar.gz -C C:\путь_к_папке\где_будет_распакован_архив

Как извлечь tar-архивы .tar.gz, .tgz или .gz, используя tar в Windows 10

*Встроенная поддержка tar в Windows 10

Совет: поскольку вы используете tar в Windows 10, вам не нужно указывать путь, как если бы вы работали в Linux. Вы можете просто использовать формат пути, используемый Windows.

После того, как вы выполните эти шаги, через несколько секунд все файлы и папки будут извлечены по указанному вами пути назначения.

Предполагается, что вы распаковываете архив, созданный в другой системе, поэтому пропускаем некоторые аргументы, обычно необходимые для сохранения разрешений, которые в Windows 10 не нужны для доступа к файлам.

Как извлечь tar-архивы .tar.gz, .tgz или .gz, используя tar в Linux на Windows 10

Чтобы использовать tar в Linux, вам нужно включить подсистему Windows для Linux (WSL), а затем установить Ubuntu из магазина Microsoft Store.

После того, как вы установили Ubuntu в Windows 10, выполните следующие шаги, чтобы извлечь файл .tar.gz :

Важное замечание: Начиная с версии 1803, инструмент управления командами tar входит в состав Windows 10, что означает, что для использования средства больше не требуется использование подсистемы Windows для Linux.

Шаг 1: Откройте меню «Пуск». Найдите Ubuntu и откройте приложение.

Шаг 2: Введите следующую команду, чтобы извлечь содержимое файла.tar.gz, и нажмите Enter :

sudo tar -xvzf /mnt/c/PATH/TO/TAR-FILE/Downloads/FILE-NAME.tar.gz -C /mnt/c/PATH/TO/DESTINATION/FOLDER

Как извлечь tar-архивы .tar.gz, .tgz или .gz, используя tar в Linux на Windows 10

*Команда tar в Windows 10

Замените «c/PATH/TO/TAR-FILE/Downloads/FILE-NAME.tar.gz» — на путь и имя вашего архива

Замените  «c/PATH/TO/DESTINATION/FOLDER» — на путь куда будет распакован архив

В приведенной выше команде мы набираем sudo для запуска приложения от имени администратора, tar для вызова приложения, а затем передаем ему несколько аргументов, в том числе:

  • x — указывает tar, что вы хотите извлечь содержимое.
  • v — Это необязательный аргумент для отображения процесса извлечения. В противном случае вы увидите только мигающий курсор, пока процесс не будет завершен.
  • z — указывает tar распаковать содержимое файла.tar.gz с помощью gzip.
  • f — указывает tar имя файла, который вы собираетесь извлечь.

Затем вам нужно указать путь к архивному файлу, который вы хотите извлечь. Вы заметите, что путь начинается /mnt/c/, а не c:\ потому, что мы на самом деле работаем в Linux.

  • -C — (дефис и заглавная C ) используется, чтобы указать tar сменить папку.

Когда вы выполняете команду, вы начинаете с исходной папки, а затем вам нужно указать папку назначения куда будет распакован архив. Вы можете извлекать файлы в любую папку, которую хотите, но не забудьте начать путь, /mnt/

Очень важно обращать внимание на прописные и строчные буквы при вводе команды в Linux, так как Downloads отличается от downloads 

В этом руководстве мы рассмотрели основные шаги для выполнения конкретной задачи. Если вы не являетесь пользователем Linux, и хотите узнать больше о инструменте WSL ознакомьтесь с нашими руководствами:

  • (WSL2) Что такое подсистема Windows для Linux 2?
  • Как установить подсистему Windows для Linux 2 в Windows 10
  • Установите Linux из Магазина Microsoft в Windows 10.
  • Доступ к файлам WSL Linux с помощью Проводника Windows 10
  • Как запустить Ubuntu Bash в Windows 10.
  • Как запускать приложения Linux GUI в Windows 10.
  • Как Выполнить команды Linux из Командной строки Windows 10.
  • Проверьте погоду в Windows 10 с помощью Linux Bash
  • Новый Windows Terminal в магазине Microsoft.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Меняющиеся обои на рабочий стол для windows 10 девушки
  • Как проверить работу dns сервера windows
  • Статистика windows linux mac
  • Windows 10 создать входящее подключение
  • Почему не обновляется windows 10 корпоративная