[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dired C idea
From: |
Arthur Miller |
Subject: |
Re: Dired C idea |
Date: |
Tue, 03 Aug 2021 23:34:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Gregory Heytings <gregory@heytings.org> writes:
>>> I would like to see some benchmark figures first. For example, I'm not sure
>>> that rsync performs better when the target directory does not exist yet, and
>>> there's nothing to sync.
>>
>> I made some comparison between "cp -pr" and "rsync -pr" on shell level. [...]
>> "rsync -pr" is slower than "cp -pr".
>>
>
> Yes, nothing can beat cp;
Is cp really bottleneck at all? Isn't it more likely IO that is limiting
operation?
> to cp because it does more than just copying files. It is faster only when
> copying files from/to a remote host when some files already exist on both
> sides
> (which is its original purpose).
>
> But rsync is also much more powerful tool compared to cp, even when it is used
> locally: as Richard said it can resume an aborted/partial copy, it can
> synchronize two directories, it has options to include or exclude file
> patterns,
> it has a progress indicator, and so forth. So as the manpage says, it is an
> "improved copy command".
rsync is nice, it would certainly be nice to have an built-in Emacs
interface to it, if someone has time to write it.
- Re: Dired C idea, Michael Albinus, 2021/08/01
- Re: Dired C idea, Richard Stallman, 2021/08/01
- RE: [External] : Re: Dired C idea, Drew Adams, 2021/08/01
- Re: Dired C idea, Michael Albinus, 2021/08/02
- Re: Dired C idea, Michael Albinus, 2021/08/03
- Re: Dired C idea, Gregory Heytings, 2021/08/03
- RE: [External] : Re: Dired C idea, Drew Adams, 2021/08/03
- Re: [External] : Re: Dired C idea, Pankaj Jangid, 2021/08/04
- RE: [External] : Re: Dired C idea, Drew Adams, 2021/08/04
- Re: Dired C idea,
Arthur Miller <=
- Re: Dired C idea, Gregory Heytings, 2021/08/03
- Re: Dired C idea, Stefan Monnier, 2021/08/03
- Re: Dired C idea, Andreas Schwab, 2021/08/04
- Re: Dired C idea, Arthur Miller, 2021/08/04
- Re: Dired C idea, Fabrice Bauzac-Stehly, 2021/08/03
- Re: Dired C idea, Eric Abrahamsen, 2021/08/03
- Re: Dired C idea, Arthur Miller, 2021/08/04
- Re: Dired C idea, Richard Stallman, 2021/08/05