• @pantyhosewimp
    link
    71 month ago

    Boy oh boy would you hate AppleScript. This is what I have to type to throw files in the trash instead of deleting them.

    tell application ”Finder” to delete POSIX file “/full/fucking/path/to/file
    • @[email protected]
      link
      fedilink
      21 month ago

      Why do you need to “tell” some “application”? Why do you need a “finder” if you know the absolute path already? Does this imply that “finder” always runs, ready to be told something?

      • @pantyhosewimp
        link
        21 month ago

        Finder is macOS equivalent of Windows Explorer (maybe, it’s been a while). I assume Linux desktop suites have various similar processes. In other words, a second optional layer (with more features) to access runtime libc file manipulation api.

          • @pantyhosewimp
            link
            11 month ago

            Yes. Finder is just some app you can move files with on macOS.