rsync and emelfm2

I mess with emelfm2 a lot, mostly because the two-pane arrangement is far more convenient and intuitive to me than the more common explorer-type interface, even if it has tabs.

And after spotting a blog post a week or so ago that gave a quick and easy intro to rsync, I came up with this as a right click option for emelfm2, that syncs a selected folder to the opposite pane. Pick a folder and right-click down to “Edit filetype.” Then Add an option and use whatever label you like. For the Command, use …

rsync -rtlDvu --progress %d/%f %D

Unless WordPress.com mangles my code, that will sync a selected directory across panes, neat as a pin. Use whatever options you prefer, or just -a instead, for a generic archive copy.

I would like to set emelfm2 up to rsync single files too, but that might be more work than it’s worth, since I don’t see a filetype for “all files” off hand. It doesn’t bother me anyway; I’m usually pushing folders around the network.

rsync is great stuff by the way. I can’t speak to specifics, but I’m fairly confident that rsync moves stuff faster than a straight cp command. And if for some reason your connection drops or there’s a power failure, rsync is generally smart enough to pick up files where it left off, and continue without data problems. As far as I know, cp can’t.

And that can be important, when your wireless router denies traffic to your machine, because the transfer rate is too high. :oops:

About these ads

5 Responses to “rsync and emelfm2”


  1. 1 oddball 2009/01/19 at 8:48 AM

    Stick it in “User commands”. I’m guessing:

    rsync -rtlDvu –progress %d/%f %F

    would work. I’ve never used rsync but generally that’ll work in emelfm2 for selected file and selected file in inactive pane. Or possibly:

    rsync -rtlDvu –progress %d/%p %P

    for full paths.

  2. 2 oddball 2009/01/19 at 9:21 AM

    Actually it probably should be:

    rsync -rtlDvu –progress %d/%f %P

    for that second one. You could even have the command in the standard actions (copy, rename, delete, etc.). Either way you can give it an icon which must be worth something.

  3. 3 ovigia 2009/08/23 at 6:41 AM

    hi all,

    you have the same functionality and more with krusader, have you tried it?

    rj

  4. 4 Zerahl Torfaas 2009/11/15 at 7:08 PM

    Functionality is all good and well, but I’m sure as hell not installing the kde base just for an mc clone.

    Unless it does my laundry.


  1. 1 The coolest tools in the box « Motho ke motho ka botho Trackback on 2009/07/13 at 10:47 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,645 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: