Why can tgz be opened on Linux box but not on Windows?How can I create a zip / tgz in Linux such that Windows...
How obscure is the use of 令 in 令和?
OP Amp not amplifying audio signal
What Exploit Are These User Agents Trying to Use?
Calculate the Mean mean of two numbers
Do creatures with a listed speed of "0 ft., fly 30 ft. (hover)" ever touch the ground?
Is there a hemisphere-neutral way of specifying a season?
How does a dynamic QR code work?
How to show a landlord what we have in savings?
How to prevent "they're falling in love" trope
Different meanings of こわい
Finitely generated matrix groups whose eigenvalues are all algebraic
Car headlights in a world without electricity
Should I tell management that I intend to leave due to bad software development practices?
Forgetting the musical notes while performing in concert
Unlock My Phone! February 2018
What is required to make GPS signals available indoors?
What exactly is ineptocracy?
What is the opposite of "eschatology"?
Why do I get negative height?
Send out email when Apex Queueable fails and test it
Knowledge-based authentication using Domain-driven Design in C#
Does the Idaho Potato Commission associate potato skins with healthy eating?
How could indestructible materials be used in power generation?
If a warlock makes a Dancing Sword their pact weapon, is there a way to prevent it from disappearing if it's farther away for more than a minute?
Why can tgz be opened on Linux box but not on Windows?
How can I create a zip / tgz in Linux such that Windows has proper filenames?.tgz not extracting properlyHow to extract a tar file (.tgz) in windows?How to zip multiple files into separate archives?Extract untarred files from a tgz in linuxWhy Linux works but windows not?Need to create .tgz file in Windowslinux - append but skip existing dataWhy can I play media files as they are downloading on Linux, but not Windows?Permissions on directories when extracting tar built from a list of files
I've received a Tar/GZipped file that was created on an embedded Linux device.
The file can be extracted perfectly fine on a Linux desktop if I run something like tar zxf myFile.tgz. The file extracts to something like
dir1/
file1
file2
dir2/
file1
file2
subdir1/
file1
...but I suspect the specific file content and layout are irrelevant.
When I try to extract this same file in Windows (using either 7-Zip or WinZip), I get:
myFile/
<extensionless file with temp-looking name e.g. "logs_xqUt09">
It's probably relevant that that top-level directory happens to be named "myFile" when the .tgz I received is itself named myFile.tgz...but I don't know with certainty that it's anything more than coincidental.
I browsed SuperUser a bit, and found a few related issues, one of which suggested that 7-Zip handles .tgz files better than WinZip, but apparently not in this situation.
Does anyone know what gives? Why would a .tgz be fully extractable under Linux but not Windows? What workarounds might there be?
If I rename that extensionless file to a .tar file, then that .tar file is extractable with 7-Zip and/or WinZip.
I'd still like to understand what's going on, and if there's a workaround that doesn't involve that manual filee renaming, because ideally the original .tgz file delivered by the embedded device should be extractable under Linux and Windows.
windows-7 linux windows zip tar
add a comment |
I've received a Tar/GZipped file that was created on an embedded Linux device.
The file can be extracted perfectly fine on a Linux desktop if I run something like tar zxf myFile.tgz. The file extracts to something like
dir1/
file1
file2
dir2/
file1
file2
subdir1/
file1
...but I suspect the specific file content and layout are irrelevant.
When I try to extract this same file in Windows (using either 7-Zip or WinZip), I get:
myFile/
<extensionless file with temp-looking name e.g. "logs_xqUt09">
It's probably relevant that that top-level directory happens to be named "myFile" when the .tgz I received is itself named myFile.tgz...but I don't know with certainty that it's anything more than coincidental.
I browsed SuperUser a bit, and found a few related issues, one of which suggested that 7-Zip handles .tgz files better than WinZip, but apparently not in this situation.
Does anyone know what gives? Why would a .tgz be fully extractable under Linux but not Windows? What workarounds might there be?
If I rename that extensionless file to a .tar file, then that .tar file is extractable with 7-Zip and/or WinZip.
I'd still like to understand what's going on, and if there's a workaround that doesn't involve that manual filee renaming, because ideally the original .tgz file delivered by the embedded device should be extractable under Linux and Windows.
windows-7 linux windows zip tar
There is WSL andStarting with version 1803, Windows 10 is adding native support for tar
– LotPings
1 hour ago
add a comment |
I've received a Tar/GZipped file that was created on an embedded Linux device.
The file can be extracted perfectly fine on a Linux desktop if I run something like tar zxf myFile.tgz. The file extracts to something like
dir1/
file1
file2
dir2/
file1
file2
subdir1/
file1
...but I suspect the specific file content and layout are irrelevant.
When I try to extract this same file in Windows (using either 7-Zip or WinZip), I get:
myFile/
<extensionless file with temp-looking name e.g. "logs_xqUt09">
It's probably relevant that that top-level directory happens to be named "myFile" when the .tgz I received is itself named myFile.tgz...but I don't know with certainty that it's anything more than coincidental.
I browsed SuperUser a bit, and found a few related issues, one of which suggested that 7-Zip handles .tgz files better than WinZip, but apparently not in this situation.
Does anyone know what gives? Why would a .tgz be fully extractable under Linux but not Windows? What workarounds might there be?
If I rename that extensionless file to a .tar file, then that .tar file is extractable with 7-Zip and/or WinZip.
I'd still like to understand what's going on, and if there's a workaround that doesn't involve that manual filee renaming, because ideally the original .tgz file delivered by the embedded device should be extractable under Linux and Windows.
windows-7 linux windows zip tar
I've received a Tar/GZipped file that was created on an embedded Linux device.
The file can be extracted perfectly fine on a Linux desktop if I run something like tar zxf myFile.tgz. The file extracts to something like
dir1/
file1
file2
dir2/
file1
file2
subdir1/
file1
...but I suspect the specific file content and layout are irrelevant.
When I try to extract this same file in Windows (using either 7-Zip or WinZip), I get:
myFile/
<extensionless file with temp-looking name e.g. "logs_xqUt09">
It's probably relevant that that top-level directory happens to be named "myFile" when the .tgz I received is itself named myFile.tgz...but I don't know with certainty that it's anything more than coincidental.
I browsed SuperUser a bit, and found a few related issues, one of which suggested that 7-Zip handles .tgz files better than WinZip, but apparently not in this situation.
Does anyone know what gives? Why would a .tgz be fully extractable under Linux but not Windows? What workarounds might there be?
If I rename that extensionless file to a .tar file, then that .tar file is extractable with 7-Zip and/or WinZip.
I'd still like to understand what's going on, and if there's a workaround that doesn't involve that manual filee renaming, because ideally the original .tgz file delivered by the embedded device should be extractable under Linux and Windows.
windows-7 linux windows zip tar
windows-7 linux windows zip tar
edited 2 hours ago
JakeGould
32.6k10100142
32.6k10100142
asked 2 hours ago
StoneThrowStoneThrow
168210
168210
There is WSL andStarting with version 1803, Windows 10 is adding native support for tar
– LotPings
1 hour ago
add a comment |
There is WSL andStarting with version 1803, Windows 10 is adding native support for tar
– LotPings
1 hour ago
There is WSL and
Starting with version 1803, Windows 10 is adding native support for tar– LotPings
1 hour ago
There is WSL and
Starting with version 1803, Windows 10 is adding native support for tar– LotPings
1 hour ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1420629%2fwhy-can-tgz-be-opened-on-linux-box-but-not-on-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1420629%2fwhy-can-tgz-be-opened-on-linux-box-but-not-on-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
There is WSL and
Starting with version 1803, Windows 10 is adding native support for tar– LotPings
1 hour ago