如何在 Windows 10 上打开 TAR 文件:(How to Open TAR files on Windows 10: ) PC 可以存储大量数据,这些数据不仅限于在同一台 PC 上创建的文件,还可以从Internet下载文件,使用USB或外部硬盘传输文件,等您也可以使用电子邮件传输此数据,但前提是数据大小低于 1 GB。但是问题出现了,如果您有数千个文件,应该如何使用电子邮件发送这些文件?好吧,在这种情况下,您应该利用TAR文件,因为单独发送文件将花费大量时间。因此(Hence),为了解决这个问题,创建了TAR文件。
TAR 文件:(TAR File: )Tar 文件(Tar File)也称为 tarball,它是文件的集合,其中多个文件包含在一个文件中。因此,无需单独跟踪所有文件,在创建TAR 文件(TAR file)后,您只需要跟踪一个文件。一旦创建了TAR 文件(TAR file),接下来的逻辑步骤就是自动进行的压缩。因此,您不仅可以省去管理所有文件的麻烦,还可以节省带宽,因为发送较小的文件将花费更少的时间,并且占用的磁盘空间也更少。TAR 文件(TAR file)的扩展名为.tar.gz。
TAR文件通常用于Linux 和 Unix(Linux & Unix)操作系统。它们相当于Windows中的(Windows)Zip文件。现在,如果您谈论在Windows操作系统上访问(operating system)TAR文件,那么您将需要一个名为 7- Zip的第三方程序(还有其他几个程序,但我们更喜欢 7 - Zip)。7- Zip是一个非常轻量级的第三方应用程序(party app),可以很好地完成这项工作。如果没有第三方应用程序(party app),您将被迫使用命令提示符(Command Prompt)来访问TAR 涉及使用一些不建议所有人使用的复杂命令的文件。
使用 7-Zip(using 7-Zip)在 Windows 10 上打开TAR 文件(TAR Files)( .tar.gz )
确保(Make)创建一个还原点(restore point) 以防万一(case something)出现问题。
要使用 7-Zip,首先,您需要下载并安装它。
如何在 Windows 10 上下载和安装 7-Zip?(How to Download & Install 7-Zip on Windows 10?)
要下载和安装 7-Zip(Install 7-Zip),请按照以下步骤操作:
1.打开7-zip官网,(official website of 7-zip)下载7-zip。
2.一旦打开下载页面(download page),您将看到两个下载链接。一个用于Windows(32 位),另一个用于Windows(64 位)。
3.根据您的系统架构点击(System architecture)下载链接(download link)。如果您不确定,请检查您的系统是 32 位还是 64 位。
注意:(Note:)在上图中的系统(System)类型下,您可以清楚地提到它是 64 位操作系统(operating system)。
4.点击下载链接(download link)后,7-zip会开始下载。
5.下载完成后,双击下载的文件。
6.接下来,选择要安装7-zip的目标文件夹(choose the destination folder),如果要安装在默认目录(default directory)下,请保留它。
注意:默认选择C 盘(C drive)。
7.单击安装按钮(Install button)开始安装。
8.安装完成后,点击关闭按钮。
9.导航到您安装 7-zip 的文件夹,您应该会看到如下内容:
10.复制 7zFM 应用程序。( 7zFM application.)
11.最后,将复制的项目粘贴到桌面上。现在,您将在桌面上有一个 7-zip 图标,您可以随时轻松访问该应用程序。
完成以上步骤后,7-zip就可以使用了。
如何 (How to create TAR files )使用 7-zip 创建 TAR 文件?(using 7-zip?)
TAR 文件(TAR file)是多个文件的集合。要创建TAR 文件(TAR file),请按照以下步骤操作:
1.双击刚刚创建的桌面7-zip快捷方式。(7-zip shortcut)
2.现在单击地址栏(address bar)左侧的浏览符号( Browse symbol)。
3.导航到所有文件所在的位置,这些文件(location where all your files are present)将组合成一个TAR 文件。(TAR file.)
4.双击您的文件夹。
5.接下来,您可以看到文件夹内的所有文件。
6.选择(Select the desired files)要包含在TAR 文件下的所需文件(TAR file)。
7.接下来,单击左上角的(left corner)添加按钮(Add button)图标。
8.单击添加(Add)按钮后,将出现以下对话框(below dialog box):
9.在存档地址下,输入(type the name)您要为TAR 文件(TAR file)指定的名称。
10.从存档格式下拉(Archive format dropdown)菜单中,如果选择了其他格式,请确保选择tar 。
11.最后,单击“确定”开始该过程。
您的TAR 文件(TAR file)将在您在步骤 4(step 4)中选择的同一文件夹下创建,即这是您在创建TAR 文件(TAR file)时选择的所有文件所在的文件夹。访问该文件夹以查看创建的TAR 文件。(TAR file.)
完成上述步骤后,您的TAR 文件(TAR file)将被创建。
如何在 Windows 10 上打开 TAR 文件?(How to open TAR files on Windows 10?)
要打开您创建或下载的TAR 文件(TAR file),请按照以下步骤操作:
1.再次双击桌面快捷方式(desktop shortcut)打开7-zip应用程序。
2.现在单击地址栏(address bar)左侧的浏览符号( Browse symbol)。
3.导航到您的TAR 文件的位置。(TAR file.)
4.选择所需的TAR 文件(TAR file),然后单击提取按钮。(Extract button.)
5.单击“提取”按钮(Extract button)后,将出现以下对话框(below dialog box)。
6.在“ Extract to: ”路径下,键入要在TAR下提取文件的确切路径。或者您可以简单地单击三个点(three dots)按钮以手动导航到所需的文件夹。
7.下一步,单击确定(OK)以提取文件。( extract the files.)
8.导航到 7-zip 下的解压文件夹。(Navigate to the extracted folder under 7-zip.)
9.双击解压后的文件夹,( extracted folder a)你会看到所有用来创建TAR文件的文件都会出现。 ( TAR file will appear. )
10.现在选择(select the files)要提取到您的 PC 的文件。
11.右键单击它,您将看到以下对话框(below dialog box):
12.从右键单击上下文菜单中选择(context menu and click)7-zip ,然后单击提取文件 (Extract files )以提取特定文件夹下的文件,或单击(folder or click)在此处提取以提取(Extract Here)TAR 文件(TAR file)所在文件夹下的文件。
13.如果您选择了提取(Extract)文件,则需要输入要提取文件的位置,然后单击确定。( OK.)
14.提取100%完成后,点击关闭(Close)按钮。
完成上述步骤后,导航到您提取文件的位置,您将在那里找到提取的文件夹或文件(folder or files)。
如何使用命令提示符打开 TAR 文件(How to open TAR Files using Command Prompt)
有些人不喜欢在他们的系统上安装任何第三方应用程序,如果您属于此类人,请不要担心,因为我们可以使用命令提示符访问或打开(Command Prompt)TAR文件。
要使用命令提示符(Command Prompt)打开TAR 文件(TAR File),请按照以下步骤操作:
1.在Windows 搜索(Windows search)中键入cmd ,然后右键单击命令提示符(Command Prompt)并选择以管理员身份运行。( Run as administrator.)
2.使用cd 命令( cd command:)导航到您的TAR 文件所在的位置:(TAR file)
注意:(Note:)如果您的文件存在于 C:Program Files 下,则键入cd C:\Program Files.
3.现在在 cmd 下键入以下命令并按Enter:
tar –xf TAR_file_name
注意:您需要将 TAR_file_name 替换为您的TAR 文件(TAR file)的实际名称,例如:tar -xf practice.tar
4.您的TAR 文件(TAR file)将被提取到相同的位置。
注意:(Note:) TAR文件将被提取到(TAR file)TAR 文件(TAR file)所在的同一位置。并且您不能像使用 7-zip 一样 手动选择要提取TAR 文件的位置。(TAR file)
推荐的:(Recommended:)
- (Troubleshoot Internet Connection Problems)解决Windows 10(Windows 10)中的Internet 连接问题
- 什么是DLNA 服务器以及如何在(DLNA Server & How)Windows 10上启用它?
- 如何在Windows 10上创建(Windows 10)本地用户帐户(Local User Account)
- 在Windows 10中检查您的驱动器(Drive)是SSD 还是 HDD(SSD or HDD)
我希望这篇文章对您有所帮助,您现在可以使用 7-zip 在 Windows 10 上轻松打开 TAR 文件 (.tar.gz) (Open TAR Files (.tar.gz) on Windows 10 using 7-zip), 但如果您对本教程仍有任何疑问,请随时在评论部分提问。
How to Open TAR Files (.tar.gz) on Windows 10
How to Open TAR files on Windows 10: PC’s can store a large amount of data and this data is not limited to the files created on the same PC but you can also download files from the Internet, transfer files using USB or external hard disk, etc. You can possibly transfer this data using email also, but only if the size of the data is under 1 GB. But the questions arise, if you have thousands of files how should one send these files using email? Well, in this case you should take advantages of TAR files as sending the files separately will take a lot of time. Hence, to solve this problem TAR files were created.
TAR File: Tar File are also called tarball which is a collection of files where several files are wrapped up in one single file. So instead of keeping track of all the files separately, after creating TAR files, you need to keep track of only one file. Once the TAR files are created, the next logical step is compression which happens automatically. So not only you are saving the headache of managing all the files but also the bandwidth as sending smaller file will take less time and will also occupy less disk space. The extension of TAR file is .tar.gz.
TAR files are typically used in Linux & Unix operating systems. They are equivalent to Zip files in Windows. Now if you talk about accessing TAR files on Windows operating system then you will require a third-party program called 7-Zip (there are several others but we prefer 7-Zip). 7-Zip is a very lightweight third party app that does this job very well. Without a third-party application, you will be forced to use Command Prompt to access the TAR files which involves using some complex command which is not recommended for everyone.
Open TAR Files (.tar.gz) on Windows 10 using 7-Zip
Make sure to create a restore point just in case something goes wrong.
To use 7-Zip, first, you need to download and install it.
How to Download & Install 7-Zip on Windows 10?
To download and Install 7-Zip follow the below steps:
1.Open the official website of 7-zip and then download 7-zip.
2.Once the download page opens up, you will see two download links. One for Windows (32-bit) and other for Windows (64-bit).
3.Click on the download link according to your System architecture. If you’re not sure then check if you have a 32-bit or 64-bit system.
Note: In the above image under System type you can it is clearly mentioned that it is a 64-bit operating system.
4.After you click on the download link, 7-zip will start downloading.
5.When the download is completed, double-click on the downloaded file.
6.Next, choose the destination folder where you want to install 7-zip, leave it, if you want to install it under the default directory.
Note: By default C drive is selected.
7.Click on the Install button to start Installation.
8.Once the Installation is completed, click on the close button.
9.Navigate to the folder where you have installed 7-zip and you should see something like this:
10.Copy the 7zFM application.
11.Finally, paste the copied item on the desktop. Now you will have a 7-zip icon on the desktop from where you can easily access the application anytime you want.
After completing the above steps, 7-zip is ready to use.
How to create TAR files using 7-zip?
TAR files are a collection of multiple files. To create a TAR file follow the below steps:
1.Double-click on the 7-zip shortcut on desktop which you just created.
2.Now click on the Browse symbol present on the left-hand side of the address bar.
3.Navigate to the location where all your files are present which will be combined to make a single TAR file.
4.Double-click on your folder.
5.Next, you can see all the files inside the folder.
6.Select the desired files which you want to include under the TAR file.
7.Next, click on the Add button icon available at the top left corner.
8.Once you click on the Add button the below dialog box will appear:
9.Under the archive address, type the name which you want to give to your TAR file.
10.From the Archive format dropdown menu, make sure to select tar if some other format is selected.
11.Finally, click OK to start the process.
You TAR file will be created under the same folder which you selected in step 4 i.e. this is the folder under which all your files are present which you selected while creating the TAR file. Visit that folder to see the created TAR file.
After completing the above steps your TAR file will be created.
How to open TAR files on Windows 10?
To open the TAR file which you have created or downloaded, follow the below steps:
1.Again open the 7-zip application by double-clicking on the desktop shortcut.
2.Now click on the Browse symbol present on the left-hand side of the address bar.
3.Navigate to the location of your TAR file.
4.Select the desired TAR file and then click on the Extract button.
5.Once you click on the Extract button, the below dialog box will appear.
6.Under the “Extract to:” path, type the exact path where you want to extract the files under TAR. Or you could simply click on the three dots button to manually navigate to the desired folder.
7.Next, click on OK to extract the files.
8.Navigate to the extracted folder under 7-zip.
9.Double-click on the extracted folder and you will see all the files which were used to create the TAR file will appear.
10.Now select the files which you want to extract to your PC.
11.Right-click on it and you will see the below dialog box:
12.Select 7-zip from the right-click context menu and click on Extract files to extract the files under a specific folder or click on Extract Here to extract the files under the same folder where the TAR file is present.
13.If you selected Extract files then you will need to enter the location where you want to extract the files and click OK.
14.After the extraction is 100% complete, click on Close button.
After completing the above steps, navigate to the location where you have extracted your files and you will find the extracted folder or files there.
How to open TAR Files using Command Prompt
Someone people don’t like to install any third-party application on their system, and if you’re among such people then don’t worry as we can access or open TAR files using Command Prompt.
To open TAR File using Command Prompt follow the below steps:
1.Type cmd in Windows search then right-click on Command Prompt and select Run as administrator.
2.Navigate to the location where your TAR file is present by utilizing the cd command:
Note: If you file is present under C:\Program Files then type cd C:\Program Files.
3.Now type the following command under cmd and hit Enter:
tar –xf TAR_file_name
Note: You need to replace the TAR_file_name with the actual name of your TAR file eg: tar -xf practice.tar
4.Your TAR file will be extracted under the same location.
Note: The TAR file will be extracted under the same location where the TAR file is present. And you cannot manually select the location where you want to extract the TAR file as you can using the 7-zip.
Recommended:
I hope this article was helpful and you can now easily Open TAR Files (.tar.gz) on Windows 10 using 7-zip, but if you still have any questions regarding this tutorial then feel free to ask them in the comment’s section.