Compressed hidden files are not hidden anymore when uncompressing on Windows
When I zip hidden files and folder and unzip on a Windows PC, they do not remain hidden. I tried to hide them with dot and also with the command chflags hidden
.
Is there anything I can do? It happens only when sending Mac to Windows, Mac to Mac works fine.
macos windows zip compression
add a comment |
When I zip hidden files and folder and unzip on a Windows PC, they do not remain hidden. I tried to hide them with dot and also with the command chflags hidden
.
Is there anything I can do? It happens only when sending Mac to Windows, Mac to Mac works fine.
macos windows zip compression
add a comment |
When I zip hidden files and folder and unzip on a Windows PC, they do not remain hidden. I tried to hide them with dot and also with the command chflags hidden
.
Is there anything I can do? It happens only when sending Mac to Windows, Mac to Mac works fine.
macos windows zip compression
When I zip hidden files and folder and unzip on a Windows PC, they do not remain hidden. I tried to hide them with dot and also with the command chflags hidden
.
Is there anything I can do? It happens only when sending Mac to Windows, Mac to Mac works fine.
macos windows zip compression
macos windows zip compression
edited 1 hour ago
Nimesh Neema
14.7k54074
14.7k54074
asked 2 hours ago
TryingTryingTryingTrying
63
63
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The filesystem running on macOS and Windows handles hidden files differently. The two approaches, i.e. prepending a dot .
character to filename or using chflags hidden
won't work as it will set the file as hidden on Mac and not on Windows.
The filenames prepended with .
will remain hidden on any UNIX/Linux system.
You can hide files on Windows by getting properties on a file and checking the "hidden" box on the general tab. This will only hide a file if you don't change the default behavior of Windows Explorer to keep hidden files hidden.
Oh I see. Thank you Nimesh. Is there anything to keep these files hidden when unzipping on Windows?
– TryingTrying
1 hour ago
@TryingTrying no there is not as I think zip files do not contain anything to mark a file as hidden except the file name for Unix.
– Mark
10 mins ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "118"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2fapple.stackexchange.com%2fquestions%2f349112%2fcompressed-hidden-files-are-not-hidden-anymore-when-uncompressing-on-windows%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The filesystem running on macOS and Windows handles hidden files differently. The two approaches, i.e. prepending a dot .
character to filename or using chflags hidden
won't work as it will set the file as hidden on Mac and not on Windows.
The filenames prepended with .
will remain hidden on any UNIX/Linux system.
You can hide files on Windows by getting properties on a file and checking the "hidden" box on the general tab. This will only hide a file if you don't change the default behavior of Windows Explorer to keep hidden files hidden.
Oh I see. Thank you Nimesh. Is there anything to keep these files hidden when unzipping on Windows?
– TryingTrying
1 hour ago
@TryingTrying no there is not as I think zip files do not contain anything to mark a file as hidden except the file name for Unix.
– Mark
10 mins ago
add a comment |
The filesystem running on macOS and Windows handles hidden files differently. The two approaches, i.e. prepending a dot .
character to filename or using chflags hidden
won't work as it will set the file as hidden on Mac and not on Windows.
The filenames prepended with .
will remain hidden on any UNIX/Linux system.
You can hide files on Windows by getting properties on a file and checking the "hidden" box on the general tab. This will only hide a file if you don't change the default behavior of Windows Explorer to keep hidden files hidden.
Oh I see. Thank you Nimesh. Is there anything to keep these files hidden when unzipping on Windows?
– TryingTrying
1 hour ago
@TryingTrying no there is not as I think zip files do not contain anything to mark a file as hidden except the file name for Unix.
– Mark
10 mins ago
add a comment |
The filesystem running on macOS and Windows handles hidden files differently. The two approaches, i.e. prepending a dot .
character to filename or using chflags hidden
won't work as it will set the file as hidden on Mac and not on Windows.
The filenames prepended with .
will remain hidden on any UNIX/Linux system.
You can hide files on Windows by getting properties on a file and checking the "hidden" box on the general tab. This will only hide a file if you don't change the default behavior of Windows Explorer to keep hidden files hidden.
The filesystem running on macOS and Windows handles hidden files differently. The two approaches, i.e. prepending a dot .
character to filename or using chflags hidden
won't work as it will set the file as hidden on Mac and not on Windows.
The filenames prepended with .
will remain hidden on any UNIX/Linux system.
You can hide files on Windows by getting properties on a file and checking the "hidden" box on the general tab. This will only hide a file if you don't change the default behavior of Windows Explorer to keep hidden files hidden.
edited 1 hour ago
Steve Chambers
14.2k21739
14.2k21739
answered 1 hour ago
Nimesh NeemaNimesh Neema
14.7k54074
14.7k54074
Oh I see. Thank you Nimesh. Is there anything to keep these files hidden when unzipping on Windows?
– TryingTrying
1 hour ago
@TryingTrying no there is not as I think zip files do not contain anything to mark a file as hidden except the file name for Unix.
– Mark
10 mins ago
add a comment |
Oh I see. Thank you Nimesh. Is there anything to keep these files hidden when unzipping on Windows?
– TryingTrying
1 hour ago
@TryingTrying no there is not as I think zip files do not contain anything to mark a file as hidden except the file name for Unix.
– Mark
10 mins ago
Oh I see. Thank you Nimesh. Is there anything to keep these files hidden when unzipping on Windows?
– TryingTrying
1 hour ago
Oh I see. Thank you Nimesh. Is there anything to keep these files hidden when unzipping on Windows?
– TryingTrying
1 hour ago
@TryingTrying no there is not as I think zip files do not contain anything to mark a file as hidden except the file name for Unix.
– Mark
10 mins ago
@TryingTrying no there is not as I think zip files do not contain anything to mark a file as hidden except the file name for Unix.
– Mark
10 mins ago
add a comment |
Thanks for contributing an answer to Ask Different!
- 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%2fapple.stackexchange.com%2fquestions%2f349112%2fcompressed-hidden-files-are-not-hidden-anymore-when-uncompressing-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