logoalt Hacker News

zoky11/20/20241 replyview on HN

I mean, if you’re the type of person who considers using tar and nc to be the obvious way to transfer a directory between two computers…


Replies

vbezhenar11/21/2024

I might be weird, but for me the most obvious way to transfer a small directory is to do

    tar -cz dir | base64
Copy output into clipboard

    base64 -d | tar -xz
Paste from clipboard into input

Works flawlessly to move configs and stuff between servers.

I actually love the blend between terminal and GUI. For this example I'm using CLI tools to produce text and I'm using GUI to scroll, select and copy&paste the text between two terminal tabs. I wish developers put more emphasis on empowering terminal with GUI capabilities.

show 2 replies