• forrcaho@lemmy.world
    link
    fedilink
    arrow-up
    25
    arrow-down
    2
    ·
    3 days ago

    CLI is being able to speak a language to tell your computer what to do; GUI is only being able to point and grunt.

      • pinball_wizard@lemmy.zip
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        3 days ago

        Shit. I wish we had that option (dragging files between folders) on Linux. Maybe someday.

        (This is a joke, about how it feels like a lot of folks with strong opinions about Linux haven’t tried Linux in a long while.)

        • renzev@lemmy.worldOP
          link
          fedilink
          arrow-up
          7
          ·
          3 days ago

          Would be awesome if there was more software to bridge the gap between CLI and GUI workflows. trash-cli and dragon-drop are pretty useful to that extent, but there is still much that could work better. I want files I’ve touched in bash to appear in the “Recent” section in the GTK filepicker, and stuff like that.

          • pinball_wizard@lemmy.zip
            link
            fedilink
            arrow-up
            2
            ·
            3 days ago

            You may want to check out Ghost Commander and it’s many cross platform clones. They include a nice mix of graphical and batch command tools.

            • renzev@lemmy.worldOP
              link
              fedilink
              arrow-up
              2
              ·
              3 days ago

              You could do it in any shell by replacing touch with a function or alias that sends a note to whatever GTK subsystem is responsible for the “recents” tab before making the file. A more comprehensive way would be either using inotify or kernel-level process tracing fuckery, but I’m not smart enough for that

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

                True, but I was thinking the shell would be the best place. You can have with watch for file modifications preformed by the user and reach out to nautilus to update its recents. That way you don’t have to watch for all inotify events on receiving user updates, and you get all tools not just touch

      • DontMakeMoreBabies@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        3 days ago

        Midnight Commander is my favorite CLI tool in Linux for that sort of thing!

        I have a NAS and sometimes I move shit around and it’s easier for me when I have “to”/“from” visually side-by-side.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        4
        ·
        3 days ago

        mv a/foo b/bar 🤷

        Definitely not hating if you find the GUI more intuitive. I’m not going to say I use terminal for everything. For instance, I’m using a graphical web browser right now!

        But the more you get comfortable with CLI, the easier it becomes to expand your daily usage to include more and more.

        • GrumpyDuckling@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          6
          ·
          3 days ago

          More like mv a/somedirectory/andanother/thenonemore/longfilenameislong b/another_directory/directory2/stillmore2goanddontmisspellanything

          • grrgyle@slrpnk.net
            link
            fedilink
            arrow-up
            4
            ·
            edit-2
            3 days ago

            Rofl true.

            I have all sorts of fun tricks to reduce the number of key strokes for an operation like that, but if bombing about the terminal isn’t fun for you then I understand.

          • grrgyle@slrpnk.net
            link
            fedilink
            arrow-up
            1
            ·
            3 days ago

            I’ve never really got good at it for standard http sites.

            I have really been enjoying browsing the smol web using offpunk, though.