• 30p87@feddit.de
    link
    fedilink
    arrow-up
    6
    ·
    4 months ago

    Nah, it’s probably more efficient to .tar.xz it and use netcat.

    On a more serious note, I use sftp for everything, and git for actual big (but still personal) projects, but then move files and execute scripts manually.

    And also, I cloned my old Laptops /dev/sda3 to my new Laptops /dev/main/root (on /dev/mapper/cryptlvm) via netcat over a Gigabit connection with netcat. It worked flawlessly. I love Linux and its Philosophy.

    • OpenStars@discuss.online
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      Ooh I’ve never heard of it. netcat I mean, cause I’ve heard of Linux 😆.

      The File Transfer Protocol is just very antiquated, while scp is simple. Possibly netcat is too:-).

      • 30p87@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        Netcat is basically just a utility to listen on a socket, or connect to one, and send or receive arbitrary data. And as, in Linux, everything is a file, which means you can handle every part of your system (eg. block devices [physical or virtual disks]) like a normal file, i.e. text, you can just transfer a block device (e.g. /dev/sda3) over raw sockets.