• Hawke@lemmy.world
    link
    fedilink
    arrow-up
    59
    ·
    4 days ago

    Seriously fuck thumbs.db anywhere it can be found.

    THIS IS WHY NTFS HAS ALTERNATE DATA STREAMS, USE THEM YOU FUCKERS YOU CREATED IT.

      • Hawke@lemmy.world
        link
        fedilink
        arrow-up
        31
        ·
        edit-2
        3 days ago

        Alternate data streams look like normal files but with an appended identifier.

        For example test.txt:stream1 is an alternate data stream of test.txt. Move or copy the file and the ADS goes with it.

        They can be created like other files (“echo > test.txt:stream1”)

        You can see them with “dir /r” at the command line.

        You can even have an alternate data stream with no corresponding file. In my opinion this is what thumbs.db should have been.

          • ITGuyLevi@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            2 days ago

            Back 20+ years ago I used alternate data streams to his my collection of files (the ones you find online as a teenager) behind a text file. You can shove anything you want (I think) in them, even including extensions to make sure it opened in the right program (i.e. test.txt:malware.msi).

          • Hawke@lemmy.world
            link
            fedilink
            arrow-up
            12
            ·
            edit-2
            3 days ago

            It works, and yes only on NTFS… but many applications may not be able to open these “files”.

            It’s actually sort of a weird historical thing, goes back to the roots of Windows NT in VMS and also compatibility with Mac OS (classic) and its “resource forks”

      • Hawke@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 days ago

        Yes well you’re not wrong.

        Although I use ext4.

        For Linux, the equivalent is Extended Attributes, although they come with significant limitations.

    • thermal_shock@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      3 days ago

      Easiest fix, change the folder view to another, like “list”, then back and it won’t be locked anymore. Might take a second or two, but will unlock.

        • thermal_shock@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          3 days ago

          You mean list? Click these icons and change the folder view from icons to something else, like “list” or “details”, then thumbs.db can be deleted without windows bitching.

          You can also change under View menu at the top.

          • Hawke@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            3 days ago

            No I mean “locked”.

            I don’t care about windows bitching about these files, I am offended that it shits them (and “desktop.ini”) all over everywhere.

            It’s a total hack, and pathetic for a company the size of Microsoft.