Windows VS Linux (part 2) - eviltoast
  • frayedpickles@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    2
    ·
    29 days ago

    Why would you want to mv, not cp, a file that is actively opened by a file system. Is that even possible on Linux? I could swear I’m regularly blocked from manipulating things with open file descriptors.

    • stetech@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      29 days ago

      Like tsugu said. Have a file open for editing or whatever and realizing you’d like it to go into another directory. Of course you could just wait until you’re done and then move, or close, move and re-open… but that’s less convenient (e.g. throwing away current file’s edit history) and/or a risk of forgetting to actually do it, at least for me, lol.

      Not sure about Linux, but I grew up on Unix (macOS), which forces applications (at least GUI based ones, CLI apps do whatever they want) to be able to deal with this, so that’s why I expected Windows to be able to do that as well. Alas…