Compressed hidden files are not hidden anymore when uncompressing on Windows












1















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.










share|improve this question





























    1















    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.










    share|improve this question



























      1












      1








      1








      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      Nimesh Neema

      14.7k54074




      14.7k54074










      asked 2 hours ago









      TryingTryingTryingTrying

      63




      63






















          1 Answer
          1






          active

          oldest

          votes


















          2














          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.






          share|improve this answer


























          • 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











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          2














          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.






          share|improve this answer


























          • 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
















          2














          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.






          share|improve this answer


























          • 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














          2












          2








          2







          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.






          share|improve this answer















          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          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



















          • 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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          How to label and detect the document text images

          Tabula Rosettana

          Aureus (color)