Re: How to completely delete the DE and all its configs and other packages
Reply #4 –
That isn't the sftp I use btw:
$ pacman -Qo /usr/bin/sftp
/usr/bin/sftp is owned by openssh 9.1p1-3
Then if you have openssh installed, which quite likely you might already, you just need to install and enable the sshd service for your init on both machines. Then you do
x $ ip route show
y $ cd (dir where you want the files to go)
y $ sftp x-username@x-route
y $ cd (dir on x where files are)
y $ get filename
y $ bye
Where x is the machine you want to take the files from and y is the one where you want to transfer to. "man sftp" gives more details if I missed something, you can do more than that too, that's using it in a simple way. "get" in sftp just gets a copy, it won't actually remove anything from the source machine. It will give you an ETA based on the transfer speed, which might be similar to your usual download speed as it goes through your router, at least that's the case for me. So it isn't the fastest transfer method but it's very easy for occasional use as it mostly uses existing packages and connections. The get -R option won't copy links and things so you are better off tarring stuff up as an xz or gz etc. and "get"ting the result as a single compressed file to transfer.