users, question:

I never played around with my TRAMP configuration and always used /ssh: with x-f and just Dired to the host.

I want to download folders of flac files to work (large files, each one is around 20MB).

I understand I can simply use /scp: instead of /ssh: and it works just the same.

a. Is this correct or it's not considered good practice in Emacs, and why?
b. Is there a built-in option to automatically configure it to switch to scp when I try to transfer?

(1/2)

· · Web · 2 · 1 · 0

the default ssh transfer with the compression is too slow, and also doesn't show progress bar. I'd like it to behave a bit more like "regular" scp via terminal.

(2/2)

@jrss I know nothing about emacs, but the best way I know to do what you want is rsync, something like

rsync -av me@remote:/path/to/dir ~/myflacs

@hopeless
@jrss
There just happens to be an Emacs plugin that adds rsync support to dired!
github.com/stsquad/dired-rsync

@erkin @hopeless

rsync is mostly used to sync files so that I have a copy at all times on the other end.

What I want is a fast(er) way to copy files, temporarily, so I can listen and delete later. scp is very good for that.

tramp+dired is better because I see my folders, I can browse to the right artist, mark the files I want to download, and then get them. I don't have to remember the path, I have a split window and I can navigate on the local and the remote host.

@erkin @hopeless

not saying rsync support for emacs is not interesting, I just don't have a use case for it at the moment; seems a bit overkill to something like scp via emacs that already works, I just want to polish it up a bit :)

@erkin @hopeless actually, @erkin , I owe you an apology:

"This is useful, especially for large files, because the copy happens in the background and doesn’t lock up Emacs. It is also more efficient than using tramps own encoding methods for moving data between systems."

having emacs hang is another annoying thing that happens when I copy files. I think I'll try it out. Sorry for jumping the gun on rsync.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!