Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #54449 > unrolled thread

Remote backups with rsync - discussion / tutorial, I guess.

Started byDan Purgert <dan@djph.net>
First post2019-03-15 18:19 +0000
Last post2019-03-20 12:53 +0100
Articles 20 on this page of 100 — 16 participants

Back to article view | Back to alt.os.linux


Contents

  Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-15 18:19 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-15 19:06 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:13 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 16:40 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-19 10:24 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Mike Easter <MikeE@ster.invalid> - 2019-03-15 16:17 -0700
    Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-16 10:14 +0100
      Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-16 09:26 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-16 16:54 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-16 16:57 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-16 11:06 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-17 12:52 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Allodoxaphobia <trepidation@example.net> - 2019-03-17 17:32 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Java Jive <java@evij.com.invalid> - 2019-03-18 12:29 +0000
          DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-18 16:32 +0000
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Java Jive <java@evij.com.invalid> - 2019-03-18 16:40 +0000
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "R.Wieser" <address@not.available> - 2019-03-18 17:59 +0100
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Adrian Caspersz <email@here.invalid> - 2019-03-18 17:51 +0000
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "R.Wieser" <address@not.available> - 2019-03-18 19:00 +0100
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 20:16 +0100
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-19 10:19 +0000
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 12:06 +0100
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-19 12:42 +0000
                  Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:36 +0100
                    Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-20 10:17 +0000
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Java Jive <java@evij.com.invalid> - 2019-03-19 13:24 +0000
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:38 +0100
          Re: Remote backups with rsync - discussion / tutorial, I guess. Adrian Caspersz <email@here.invalid> - 2019-03-18 17:47 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-19 00:29 +0000
              Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-19 09:02 +0000
              Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 12:07 +0100
                Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-19 13:57 +0000
                  Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:45 +0100
                    Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 08:52 +0000
                      Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-20 11:24 +0100
                        Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 11:31 +0000
                          Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 15:03 +0000
                            Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 17:05 +0000
                      Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 12:08 +0000
                        Re: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) Chris Elvidge <chris@mshome.net> - 2019-03-20 13:04 +0000
                        Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 13:47 +0000
                          Re: Why I don't like "rsync"... "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:41 +0100
                          Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 09:36 +0000
                            Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 09:59 +0000
                              Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 10:36 +0000
                                Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 11:12 +0000
                                  Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 11:29 +0000
                                    Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 13:04 +0000
                                      Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 13:16 +0000
                                  Re: Why I don't like "rsync"... Dan Purgert <dan@djph.net> - 2019-03-25 10:37 +0000
                        Re: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) William Unruh <unruh@invalid.ca> - 2019-03-20 15:19 +0000
                      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-20 12:44 +0000
                        Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 13:58 +0000
                          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-20 15:00 +0000
                            Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 15:49 +0000
                              Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 17:57 +0000
                                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 23:39 +0000
                              Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-21 08:15 +0000
                                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 09:00 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-21 13:11 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-21 14:03 +0000
                                  rsync --archive Ivan Shmakov <ivan@siamics.net> - 2019-03-21 18:10 +0000
                                    Re: rsync --archive Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 21:42 +0000
                                      Re: rsync --archive "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:54 +0100
                                      Re: rsync --archive Ivan Shmakov <ivan@miko.siamics.net> - 2019-03-23 04:32 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-21 18:54 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-22 10:03 +0000
                                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-21 18:50 +0000
                                  Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 21:31 +0000
                              Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:48 +0100
                          Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 15:07 +0000
                      Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 14:57 +0000
                        Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 15:54 +0000
                          Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 17:49 +0000
                            Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-21 08:21 +0000
                  Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 20:50 +0000
                  Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 02:40 +0000
                    Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 08:19 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 02:37 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 19:53 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 21:25 +0100
            Re: Remote backups with rsync - discussion / tutorial, I guess. Java Jive <java@evij.com.invalid> - 2019-03-19 22:04 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:20 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 13:07 +0100
          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 12:43 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 14:32 +0100
              Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 16:44 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Daniel60 <daniel47@eternal-september.org> - 2019-03-16 23:52 +1100
      Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:49 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 13:11 +0100
          Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 12:45 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 18:12 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-18 19:12 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-18 19:19 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Daniel60 <daniel47@eternal-september.org> - 2019-04-02 22:37 +1100
    Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-19 12:49 +0100
      Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 21:08 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 12:51 +0100
    Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 10:37 +0100
      Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 12:53 +0100

Page 2 of 5 — ← Prev page 1 [2] 3 4 5  Next page →


#54487 — Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

FromDan Purgert <dan@djph.net>
Date2019-03-19 10:19 +0000
SubjectRe: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<slrnq91gi1.n0k.dan@djph.net>
In reply to#54473
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Kenny McCormack wrote:
> In article <q6o2vc$ieb$1@gioia.aioe.org>,
> Java Jive  <java@evij.com.invalid> wrote:
>> [...]
>>remembering to use the /B switch will tell you.  The default mode of 
>>COPY was ASCII or text mode, as if the /A switch had been specified, so 
>>if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>, 
>>commonly used as to mark the end of a text file  -  the copy would be 
>>truncated at that point.  I've been caught out by this comparatively 
>>recently, copying an audio file using a command prompt in W7.
>
> [...]
>
> The way it should have been designed is that it is *always* binary unless
> there is an explicit /A switch present.

Yeah, but when you can save sending 1 bit / character on systems that
were based on the ASCII characterset, you can eke out a bit more
transfer speed.

Sure, looking back at it, the decision wasn't that great (arguably, the
whole protocol isn't that great); but at the same time, it's pretty
arrogant to make the argument that someone should've known better 40
years ago.


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlyQwkEACgkQjhHd8xJ5
ooG29AgAs4pEpdHWdtSG41FjxYQR/M7mFpvdPsCX8bLEQPOThNgwFRdfEfT8vluO
haCq1ONNQfpLEf3sRK403mJtDyon4mCgGG7R2MA/jeaVity1OVyYl8XmIsBJuTUt
yKkmDrfRta22FRBsqw7I5U10DprMsQ1pd5NSSQRuZtJ165Rar55ozmGjxYGS0F3j
yFyHdkS3HXxa+fITptDef0UNWZjJka6o/JOz+JOVwU0QUIMF5R1qdG+5D49Xn0DV
KupgABZdC7NqCtN3LtSNshvtG1JdfpcQ66KJb/W44CfGfHok1rAL36vTTaJ3hZBZ
vpS7oa7Y54ADP3i6tUfDczwYNBxHSA==
=wDcz
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#54489 — Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-19 12:06 +0100
SubjectRe: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<v1v6mf-ee5.ln1@Telcontar.valinor>
In reply to#54487
On 19/03/2019 11.19, Dan Purgert wrote:
> Kenny McCormack wrote:
>> In article <q6o2vc$ieb$1@gioia.aioe.org>,
>> Java Jive  <java@evij.com.invalid> wrote:
>>> [...]
>>> remembering to use the /B switch will tell you.  The default mode of 
>>> COPY was ASCII or text mode, as if the /A switch had been specified, so 
>>> if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>, 
>>> commonly used as to mark the end of a text file  -  the copy would be 
>>> truncated at that point.  I've been caught out by this comparatively 
>>> recently, copying an audio file using a command prompt in W7.
> 
>> [...]
> 
>> The way it should have been designed is that it is *always* binary unless
>> there is an explicit /A switch present.
> 
> Yeah, but when you can save sending 1 bit / character on systems that
> were based on the ASCII characterset, you can eke out a bit more
> transfer speed.

I don't know if they did that: the char set on the original IBM-PC was 8
bit, and there were many users on other languages, like Spanish, that
needed text characters over the 127. The default character set (USA)
included the 'ñ' and accented vowels like 'áéíóú'. All those needed in
Spanish were contemplated, I don't know about other languages. Some
certainly needed changing the char map. And then there were the box
drawing chars.


> Sure, looking back at it, the decision wasn't that great (arguably, the
> whole protocol isn't that great); but at the same time, it's pretty
> arrogant to make the argument that someone should've known better 40
> years ago.

Even today there are hurdles from that era. Look at the email standard:
a file can be attached as text, and depending on the destination machine
it will be converted to CR+LF or only LF.

And not only "text" is considered "text". I had problems sending
translations (.po files) upstream by email, had to send them zipped to
for treatment as binary.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54492 — Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

FromDan Purgert <dan@djph.net>
Date2019-03-19 12:42 +0000
SubjectRe: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<slrnq91ot2.n0k.dan@djph.net>
In reply to#54489
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Carlos E.R. wrote:
> On 19/03/2019 11.19, Dan Purgert wrote:
>> Kenny McCormack wrote:
>>> In article <q6o2vc$ieb$1@gioia.aioe.org>,
>>> Java Jive  <java@evij.com.invalid> wrote:
>>>> [...]
>>>> remembering to use the /B switch will tell you.  The default mode of 
>>>> COPY was ASCII or text mode, as if the /A switch had been specified, so 
>>>> if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>, 
>>>> commonly used as to mark the end of a text file  -  the copy would be 
>>>> truncated at that point.  I've been caught out by this comparatively 
>>>> recently, copying an audio file using a command prompt in W7.
>> 
>>> [...]
>> 
>>> The way it should have been designed is that it is *always* binary unless
>>> there is an explicit /A switch present.
>> 
>> Yeah, but when you can save sending 1 bit / character on systems that
>> were based on the ASCII characterset, you can eke out a bit more
>> transfer speed.
>
> I don't know if they did that: the char set on the original IBM-PC was 8
> bit, and there were many users on other languages, like Spanish, that
> needed text characters over the 127. The default character set (USA)
> included the 'ñ' and accented vowels like 'áéíóú'. All those needed in
> Spanish were contemplated, I don't know about other languages. Some
> certainly needed changing the char map. And then there were the box
> drawing chars.

Yeah, and if they were using the ASCII character set, the 8th bit
would've always been zero.

So, when we're transferring in ASCII mode, we can cheat and simply not
send that leading zero (since it's never used).  Makes things a slight
bit faster.

Quick example -- the response you quoted was ~2500 characters (including
headers and signature, before PGP signing), or ~20,000 bits.

So, it's 1980 and we've only got a 300 baud modem, and want to download
that message:

  FTP, IMAGE (binary) mode -> approx. 1 minute, 20 sec
  FTP, ASCII mode -> approx. 58 seconds


>
>
>> Sure, looking back at it, the decision wasn't that great (arguably, the
>> whole protocol isn't that great); but at the same time, it's pretty
>> arrogant to make the argument that someone should've known better 40
>> years ago.
>
> Even today there are hurdles from that era. Look at the email standard:
> a file can be attached as text, and depending on the destination machine
> it will be converted to CR+LF or only LF.

My point was that we can't sit here in 2019 and criticize someone for
decisions that, at the time they were made, may have had sound
reasoning.  We can, of course, criticize the fact that people still
putting out software make stupid decisions (e.g. ASCII mode is still the
default).

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlyQ46AACgkQjhHd8xJ5
ooGWJggAibSCwdMUo3AJE3oTJkl9UHdI41kCNrOAExllq4BDzG4iNp+4hpqEIJ7q
M+kJCLRNh+Wp2O0/cdL4HDnjUR5QTHG70Wy3J2sx4Kx2Xh4IqVk8Mj6Atrbfli7E
7w9zr2I/puZgy4p9soSsxiXrJp9jL03P8N5BSGFRRci7V6VqRzagS3cTb6Jxx8a1
76E9F7Svak84M/a1y1ffdK8FH4rMFzs3D48nPqAUhhV16jFy9XN6+RPa6g1QlUlO
8WaO0tZPsSvO4+hNKIcXhuaXrdHjX6UrOBGqzNZ3gM04ryiNPkoLJy8FEDProaBN
fh2MMTIX6n85iC3kTIAqpy2wqOb/sQ==
=rEG/
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#54495 — Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-19 19:36 +0100
SubjectRe: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<aep7mf-mf.ln1@Telcontar.valinor>
In reply to#54492
On 19/03/2019 13.42, Dan Purgert wrote:
> Carlos E.R. wrote:
>> On 19/03/2019 11.19, Dan Purgert wrote:
>>> Kenny McCormack wrote:
>>>> In article <q6o2vc$ieb$1@gioia.aioe.org>,
>>>> Java Jive  <java@evij.com.invalid> wrote:
>>>>> [...]
>>>>> remembering to use the /B switch will tell you.  The default mode of 
>>>>> COPY was ASCII or text mode, as if the /A switch had been specified, so 
>>>>> if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>, 
>>>>> commonly used as to mark the end of a text file  -  the copy would be 
>>>>> truncated at that point.  I've been caught out by this comparatively 
>>>>> recently, copying an audio file using a command prompt in W7.
>>>
>>>> [...]
>>>
>>>> The way it should have been designed is that it is *always* binary unless
>>>> there is an explicit /A switch present.
>>>
>>> Yeah, but when you can save sending 1 bit / character on systems that
>>> were based on the ASCII characterset, you can eke out a bit more
>>> transfer speed.
> 
>> I don't know if they did that: the char set on the original IBM-PC was 8
>> bit, and there were many users on other languages, like Spanish, that
>> needed text characters over the 127. The default character set (USA)
>> included the 'ñ' and accented vowels like 'áéíóú'. All those needed in
>> Spanish were contemplated, I don't know about other languages. Some
>> certainly needed changing the char map. And then there were the box
>> drawing chars.
> 
> Yeah, and if they were using the ASCII character set, the 8th bit
> would've always been zero.
> 
> So, when we're transferring in ASCII mode, we can cheat and simply not
> send that leading zero (since it's never used).  Makes things a slight
> bit faster.
> 
> Quick example -- the response you quoted was ~2500 characters (including
> headers and signature, before PGP signing), or ~20,000 bits.
> 
> So, it's 1980 and we've only got a 300 baud modem, and want to download
> that message:
> 
>   FTP, IMAGE (binary) mode -> approx. 1 minute, 20 sec
>   FTP, ASCII mode -> approx. 58 seconds

Are you sure that the modem would switch to 7 bit?  :-?

I did not have a modem those years. I got one around 1992, perhaps 95,
and I think we always used 8 bits. Nor did I have any unix or linux till
the 98.

I think we would have to configure the serial port in 7 bit mode.
300,7,E, I think was the parlance :-D




>>> Sure, looking back at it, the decision wasn't that great (arguably, the
>>> whole protocol isn't that great); but at the same time, it's pretty
>>> arrogant to make the argument that someone should've known better 40
>>> years ago.
> 
>> Even today there are hurdles from that era. Look at the email standard:
>> a file can be attached as text, and depending on the destination machine
>> it will be converted to CR+LF or only LF.
> 
> My point was that we can't sit here in 2019 and criticize someone for
> decisions that, at the time they were made, may have had sound
> reasoning.  We can, of course, criticize the fact that people still
> putting out software make stupid decisions (e.g. ASCII mode is still the
> default).

Absolutely :-)

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54508 — Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

FromDan Purgert <dan@djph.net>
Date2019-03-20 10:17 +0000
SubjectRe: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<slrnq944qm.n0k.dan@djph.net>
In reply to#54495
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Carlos E.R. wrote:
> On 19/03/2019 13.42, Dan Purgert wrote:
>> Carlos E.R. wrote:
>>> On 19/03/2019 11.19, Dan Purgert wrote:
>>>> Kenny McCormack wrote:
>>>>> In article <q6o2vc$ieb$1@gioia.aioe.org>,
>>>>> Java Jive  <java@evij.com.invalid> wrote:
>>>>>> [...]
>>>>>> remembering to use the /B switch will tell you.  The default mode of 
>>>>>> COPY was ASCII or text mode, as if the /A switch had been specified, so 
>>>>>> if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>, 
>>>>>> commonly used as to mark the end of a text file  -  the copy would be 
>>>>>> truncated at that point.  I've been caught out by this comparatively 
>>>>>> recently, copying an audio file using a command prompt in W7.
>>>>
>>>>> [...]
>>>>
>>>>> The way it should have been designed is that it is *always* binary unless
>>>>> there is an explicit /A switch present.
>>>>
>>>> Yeah, but when you can save sending 1 bit / character on systems that
>>>> were based on the ASCII characterset, you can eke out a bit more
>>>> transfer speed.
>> 
>>> I don't know if they did that: the char set on the original IBM-PC was 8
>>> bit, and there were many users on other languages, like Spanish, that
>>> needed text characters over the 127. The default character set (USA)
>>> included the 'ñ' and accented vowels like 'áéíóú'. All those needed in
>>> Spanish were contemplated, I don't know about other languages. Some
>>> certainly needed changing the char map. And then there were the box
>>> drawing chars.
>> 
>> Yeah, and if they were using the ASCII character set, the 8th bit
>> would've always been zero.
>> 
>> So, when we're transferring in ASCII mode, we can cheat and simply not
>> send that leading zero (since it's never used).  Makes things a slight
>> bit faster.
>> 
>> Quick example -- the response you quoted was ~2500 characters (including
>> headers and signature, before PGP signing), or ~20,000 bits.
>> 
>> So, it's 1980 and we've only got a 300 baud modem, and want to download
>> that message:
>> 
>>   FTP, IMAGE (binary) mode -> approx. 1 minute, 20 sec
>>   FTP, ASCII mode -> approx. 58 seconds
>
> Are you sure that the modem would switch to 7 bit?  :-?
>
> I did not have a modem those years. I got one around 1992, perhaps 95,
> and I think we always used 8 bits. Nor did I have any unix or linux till
> the 98.

Hardware wasn't switching mode.

Trying to find the reference in the (original) RFC, but it's god-awful
to read. Keeps referring the reader to the TELNET spec (ugh).

I could've sworn the behavior was noted in there somewhere.


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlySE1QACgkQjhHd8xJ5
ooHx2AgAjAj9xsg1Mdz+Knt1i0FpqBNDQYg2xS+WxPbmgGrImIMhLeN1Y72a9EXZ
Plu/oPLBRVQmbnZPX5mDjZ0XBU9x6pX0P/6r3Ubu7/YeM2KjNlcTYHCLjgz9ZLiJ
8tVRdu8q7fNnXlC2MbJ5dIc51VlhdtacVe3h01u1vPWDy4aM33E1dMEkO/4Tsbcp
DwujSM3wwo6hDbCGgAjP8cunYmdvkFZJbyMc8DrX8tyA5PyXQ5Td1vQrqH0e/N38
84HL7NhlTjBZEmZm+ozp97ohnm5jIB0vVQh6b0ZJb+naLWbLaidA6OgaJDp5VUQi
JtpJJ8BYbaCF9uo5KkeYprdNJFmKIQ==
=sXfV
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#54493 — Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

FromJava Jive <java@evij.com.invalid>
Date2019-03-19 13:24 +0000
SubjectRe: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<q6qqi5$11vg$1@gioia.aioe.org>
In reply to#54487
On 19/03/2019 10:19, Dan Purgert wrote:
> 
> Yeah, but when you can save sending 1 bit / character on systems that
> were based on the ASCII characterset, you can eke out a bit more
> transfer speed.

But, although the COPY command could be used to copy to & from serial 
devices, I'm not sure that by the era of CP/M, let alone DOS, that was 
any more its primary purpose.  By then it's primary purpose would surely 
have been to copy files between storage devices  -  floppy or hard disks 
(which AFAICR anyway were mostly devices with parallel interfaces).  I 
don't think by that era bitrate can have been relevant to that unwise 
decision.

[toc] | [prev] | [next] | [standalone]


#54496 — Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-19 19:38 +0100
SubjectRe: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<7ip7mf-mf.ln1@Telcontar.valinor>
In reply to#54493
On 19/03/2019 14.24, Java Jive wrote:
> On 19/03/2019 10:19, Dan Purgert wrote:
>>
>> Yeah, but when you can save sending 1 bit / character on systems that
>> were based on the ASCII characterset, you can eke out a bit more
>> transfer speed.
> 
> But, although the COPY command could be used to copy to & from serial
> devices, I'm not sure that by the era of CP/M, let alone DOS, that was
> any more its primary purpose.  By then it's primary purpose would surely
> have been to copy files between storage devices  -  floppy or hard disks
> (which AFAICR anyway were mostly devices with parallel interfaces).  I
> don't think by that era bitrate can have been relevant to that unwise
> decision.

I think so, yes. It was about the formatting. An EOF char would signal
the end of the file, for instance.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54478

FromAdrian Caspersz <email@here.invalid>
Date2019-03-18 17:47 +0000
Message-ID<gfa3tlF31ejU1@mid.individual.net>
In reply to#54469
On 18/03/2019 12:29, Java Jive wrote:

> The point you make is valid, the defaults aren't very sensible.  The way 
> I get over that is to create an environment variable on every Linux 
> machine that I have:
>      RSYNC_OPTS='-Drltuogpv'

If it helps, you could rearrange the letters

'-Dltvgroup' might be more memorable?

-- 
Adrian C

[toc] | [prev] | [next] | [standalone]


#54485

FromWilliam Unruh <unruh@invalid.ca>
Date2019-03-19 00:29 +0000
Message-ID<q6pd5o$nhr$1@dont-email.me>
In reply to#54478
On 2019-03-18, Adrian Caspersz <email@here.invalid> wrote:
> On 18/03/2019 12:29, Java Jive wrote:
>
>> The point you make is valid, the defaults aren't very sensible.  The way 
>> I get over that is to create an environment variable on every Linux 
>> machine that I have:
>>      RSYNC_OPTS='-Drltuogpv'
>
> If it helps, you could rearrange the letters
>
> '-Dltvgroup' might be more memorable?

Or just -avu
but v is only worthwhile at the console, not in a script, when 
-aqu might be more useful

(from man rsync
-a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)


>

[toc] | [prev] | [next] | [standalone]


#54486

FromChris Elvidge <chris@mshome.net>
Date2019-03-19 09:02 +0000
Message-ID<q6qb7n$r07$1@dont-email.me>
In reply to#54485
On 19/03/2019 00:29, William Unruh wrote:
> On 2019-03-18, Adrian Caspersz <email@here.invalid> wrote:
>> On 18/03/2019 12:29, Java Jive wrote:
>>
>>> The point you make is valid, the defaults aren't very sensible.  The way
>>> I get over that is to create an environment variable on every Linux
>>> machine that I have:
>>>       RSYNC_OPTS='-Drltuogpv'
>>
>> If it helps, you could rearrange the letters
>>
>> '-Dltvgroup' might be more memorable?
> 
> Or just -avu
> but v is only worthwhile at the console, not in a script, when
> -aqu might be more useful
> 
> (from man rsync
> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
> 
> 
>>

In scripts, I use  --info=STATS2


-- 

Chris Elvidge, England

[toc] | [prev] | [next] | [standalone]


#54490

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-19 12:07 +0100
Message-ID<h4v6mf-ee5.ln1@Telcontar.valinor>
In reply to#54485
On 19/03/2019 01.29, William Unruh wrote:
> On 2019-03-18, Adrian Caspersz <email@here.invalid> wrote:
>> On 18/03/2019 12:29, Java Jive wrote:
>>
>>> The point you make is valid, the defaults aren't very sensible.  The way 
>>> I get over that is to create an environment variable on every Linux 
>>> machine that I have:
>>>      RSYNC_OPTS='-Drltuogpv'
>>
>> If it helps, you could rearrange the letters
>>
>> '-Dltvgroup' might be more memorable?
> 
> Or just -avu
> but v is only worthwhile at the console, not in a script, when 
> -aqu might be more useful
> 
> (from man rsync
> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)

--archive does not include everything needed: Sparse, hard links,
attributes, acls...



-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54494

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2019-03-19 13:57 +0000
Message-ID<q6qsgc$plk$1@news.xmission.com>
In reply to#54490
In article <h4v6mf-ee5.ln1@Telcontar.valinor>,
Carlos E.R. <robin_listas@es.invalid> wrote:
...
>> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
>
>--archive does not include everything needed: Sparse, hard links,
>attributes, acls...

That is exactly the problem.  That even after you use "-a", you still gotta
learn about all those other options.  That's why I don't like "rsync".

(someone OT)
I'm reminded of another computer system I used to use (which will remain
nameless) that had a very bizarre file system.  It was very nice, mind you,
but very different from the simple "one byte follows another" model of
Unix.  The effect was that the system's "copy" command did very unexpected
things (all logical, mind you) if your goal was simply to make a duplicate
of your file (as it usually is).  As a result, there was another command
called, not surprisingly, "duplicate" - which just did the right thing.
Not surprisingly, people quickly learned to (almost) always use "duplicate"
and never to use "copy" (unless they really knew and needed its capabilities).

"rsync" could take a lesson from and learn from this experience.

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
	http://user.xmission.com/~gazelle/Sigs/Seriously

[toc] | [prev] | [next] | [standalone]


#54497

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-19 19:45 +0100
Message-ID<nvp7mf-b21.ln1@Telcontar.valinor>
In reply to#54494
On 19/03/2019 14.57, Kenny McCormack wrote:
> In article <h4v6mf-ee5.ln1@Telcontar.valinor>,
> Carlos E.R. <robin_listas@es.invalid> wrote:
> ...
>>> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
>>
>> --archive does not include everything needed: Sparse, hard links,
>> attributes, acls...
> 
> That is exactly the problem.  That even after you use "-a", you still gotta
> learn about all those other options.  That's why I don't like "rsync".
> 
> (someone OT)
> I'm reminded of another computer system I used to use (which will remain
> nameless) that had a very bizarre file system.  It was very nice, mind you,
> but very different from the simple "one byte follows another" model of
> Unix.  The effect was that the system's "copy" command did very unexpected
> things (all logical, mind you) if your goal was simply to make a duplicate
> of your file (as it usually is).  As a result, there was another command
> called, not surprisingly, "duplicate" - which just did the right thing.
> Not surprisingly, people quickly learned to (almost) always use "duplicate"
> and never to use "copy" (unless they really knew and needed its capabilities).
> 
> "rsync" could take a lesson from and learn from this experience.

No, because the understanding of what must be the default behaviour
varies. You simply configure your defaults using an alias.

I may not like the defaults, but that doesn't change the fact that it is
a very useful program.

And even if they wanted to change the defaults, they probably would not
do it, because that would change the behaviour of existing scripts of
people, which would be even worse.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54506

FromRichard Kettlewell <invalid@invalid.invalid>
Date2019-03-20 08:52 +0000
Message-ID<877ecuszam.fsf@LkoBDZeT.terraraq.uk>
In reply to#54497
"Carlos E.R." <robin_listas@es.invalid> writes:
> On 19/03/2019 14.57, Kenny McCormack wrote:
>> Carlos E.R. <robin_listas@es.invalid> wrote:
>>>> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
>>>
>>> --archive does not include everything needed: Sparse, hard links,
>>> attributes, acls...
>> 
>> That is exactly the problem.  That even after you use "-a", you still gotta
>> learn about all those other options.  That's why I don't like "rsync".
>> 
>> (someone OT)
>> I'm reminded of another computer system I used to use (which will
>> remain nameless) that had a very bizarre file system.  It was very
>> nice, mind you, but very different from the simple "one byte follows
>> another" model of Unix.  The effect was that the system's "copy"
>> command did very unexpected things (all logical, mind you) if your
>> goal was simply to make a duplicate of your file (as it usually is).
>> As a result, there was another command called, not surprisingly,
>> "duplicate" - which just did the right thing.  Not surprisingly,
>> people quickly learned to (almost) always use "duplicate" and never
>> to use "copy" (unless they really knew and needed its capabilities).
>> 
>> "rsync" could take a lesson from and learn from this experience.
>
> No, because the understanding of what must be the default behaviour
> varies. You simply configure your defaults using an alias.

--archive isn’t default behavior, though - it’s an alias for preserving
“almost everything”. Frankly it’s a silly grouping of options:
preserving everything would be a sensible grouping (it would guarantee
nobody will be surprised by an inaccurate archive), the ability to pick
and choose every individual thing to preserve is also perfectly sensible
(it maximizes the number of use cases supported).  But the
somewhere-inbetween model of --archive is just a trap for the unwary.

> I may not like the defaults, but that doesn't change the fact that it
> is a very useful program.

AFAICS nobody is saying it isn’t useful, so I don’t know what the
purpose of that remark is.

> And even if they wanted to change the defaults, they probably would
> not do it, because that would change the behaviour of existing scripts
> of people, which would be even worse.

Yes, it’s too late now. A bit of thought up-front would have been a good
idea.

-- 
https://www.greenend.org.uk/rjk/

[toc] | [prev] | [next] | [standalone]


#54509

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-03-20 11:24 +0100
Message-ID<5vg9mf-au8.ln1@Telcontar.valinor>
In reply to#54506
On 20/03/2019 09.52, Richard Kettlewell wrote:
> "Carlos E.R." <robin_listas@es.invalid> writes:
>> On 19/03/2019 14.57, Kenny McCormack wrote:
>>> Carlos E.R. <robin_listas@es.invalid> wrote:
>>>>> -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)
>>>>
>>>> --archive does not include everything needed: Sparse, hard links,
>>>> attributes, acls...
>>>
>>> That is exactly the problem.  That even after you use "-a", you still gotta
>>> learn about all those other options.  That's why I don't like "rsync".
>>>
>>> (someone OT)
>>> I'm reminded of another computer system I used to use (which will
>>> remain nameless) that had a very bizarre file system.  It was very
>>> nice, mind you, but very different from the simple "one byte follows
>>> another" model of Unix.  The effect was that the system's "copy"
>>> command did very unexpected things (all logical, mind you) if your
>>> goal was simply to make a duplicate of your file (as it usually is).
>>> As a result, there was another command called, not surprisingly,
>>> "duplicate" - which just did the right thing.  Not surprisingly,
>>> people quickly learned to (almost) always use "duplicate" and never
>>> to use "copy" (unless they really knew and needed its capabilities).
>>>
>>> "rsync" could take a lesson from and learn from this experience.
>>
>> No, because the understanding of what must be the default behaviour
>> varies. You simply configure your defaults using an alias.
> 
> --archive isn’t default behavior, though - it’s an alias for preserving
> “almost everything”. Frankly it’s a silly grouping of options:
> preserving everything would be a sensible grouping (it would guarantee
> nobody will be surprised by an inaccurate archive), the ability to pick
> and choose every individual thing to preserve is also perfectly sensible
> (it maximizes the number of use cases supported).  But the
> somewhere-inbetween model of --archive is just a trap for the unwary.

No, I didn't say "--archive" is the default. The default is nothing.

> 
>> I may not like the defaults, but that doesn't change the fact that it
>> is a very useful program.
> 
> AFAICS nobody is saying it isn’t useful, so I don’t know what the
> purpose of that remark is.

Yes, it has been suggested.


>> And even if they wanted to change the defaults, they probably would
>> not do it, because that would change the behaviour of existing scripts
>> of people, which would be even worse.
> 
> Yes, it’s too late now. A bit of thought up-front would have been a good
> idea.

Well, possibly the program at its birth didn't do everything and it got
several additions and the corresponding switch for each addition :-)


-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#54510

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2019-03-20 11:31 +0000
Message-ID<q6t8a3$7ie$1@news.xmission.com>
In reply to#54509
In article <5vg9mf-au8.ln1@Telcontar.valinor>,
Carlos E.R. <robin_listas@es.invalid> wrote:
...
(RJK wrote)
>> AFAICS nobody is saying it isn’t useful, so I don’t know what the
>> purpose of that remark is.

Richard is absolutely right.

>Yes, it has been suggested.

No.  It hasn't.  It's been inferred from my comments, but I never said
that, nor do I believe it.

"rsync" is, like most programs in computing-dom, a program that does
something people want, so they are willing to overlook (and publicly deny)
its faults (to avoid the cognitive dissonance that would otherwise result).

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
	http://user.xmission.com/~gazelle/Sigs/Cancer

[toc] | [prev] | [next] | [standalone]


#54520

FromWilliam Unruh <unruh@invalid.ca>
Date2019-03-20 15:03 +0000
Message-ID<q6tknj$qos$2@dont-email.me>
In reply to#54510
On 2019-03-20, Kenny McCormack <gazelle@shell.xmission.com> wrote:
> In article <5vg9mf-au8.ln1@Telcontar.valinor>,
> Carlos E.R. <robin_listas@es.invalid> wrote:
> ...
> (RJK wrote)
>>> AFAICS nobody is saying it isn’t useful, so I don’t know what the
>>> purpose of that remark is.
>
> Richard is absolutely right.
>
>>Yes, it has been suggested.
>
> No.  It hasn't.  It's been inferred from my comments, but I never said
> that, nor do I believe it.
>
> "rsync" is, like most programs in computing-dom, a program that does
> something people want, so they are willing to overlook (and publicly deny)
> its faults (to avoid the cognitive dissonance that would otherwise result).

And you are now descending again to ad hominum attacks. You have no idea
what my, or anyone's other than your own, psychology is. You complain
that there are far too many options that must be remenmbered to use
rsync. I point out that there is one. -a whichwill do for manysituations
( which is what a default is supposed to do). You then accuse me of
cognitave dissonance. I think it is you thatt suffer from it,since your
postion has suffered an almost fatal blow, and you cannot stand that
state. 
>

[toc] | [prev] | [next] | [standalone]


#54525

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2019-03-20 17:05 +0000
Message-ID<q6trss$ido$1@news.xmission.com>
In reply to#54520
In article <q6tknj$qos$2@dont-email.me>,
William Unruh  <unruh@invalid.ca> scribbled:
...
>And you are now descending again to ad hominum attacks. You have no idea
>what my, or anyone's other than your own, psychology is. You complain
>that there are far too many options that must be remenmbered to use
>rsync. I point out that there is one. -a whichwill do for manysituations
>( which is what a default is supposed to do). You then accuse me of
>cognitave dissonance. I think it is you thatt suffer from it,since your
>postion has suffered an almost fatal blow, and you cannot stand that
>state. 

Wow.  Just wow.

Somebody didn't get enough love as a child (and it's not me).

Someday, you'll look back at what your just wrote and wonder "What the hell
was I thinking???  What is wrong with me???"

And, yes, *that* is an "ad hominum" - a term that is thrown around much too
loosely on Usenet - unlike anything I've written previously.

Anyway, I'm done with you.  Hopefully, you are done with me.

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
	http://user.xmission.com/~gazelle/Sigs/Voltaire

[toc] | [prev] | [next] | [standalone]


#54513 — Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.)

Fromgazelle@shell.xmission.com (Kenny McCormack)
Date2019-03-20 12:08 +0000
SubjectWhy I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<q6tafo$8pk$1@news.xmission.com>
In reply to#54506
In article <877ecuszam.fsf@LkoBDZeT.terraraq.uk>,
Richard Kettlewell  <invalid@invalid.invalid> wrote:
...
>> And even if they wanted to change the defaults, they probably would
>> not do it, because that would change the behaviour of existing scripts
>> of people, which would be even worse.
>
>Yes, it's too late now. A bit of thought up-front would have been a good idea.

Indeed.  But like most programs we use, it was never really designed and it
was allowed to grow "organically".

But, fortunately, there is an easy solution to this general sort of problem.

First, let's agree to assume two things:
    1) The current situation is a mess, but needs to be kept as is for
	compatibility.  I.e., people use this as a backup tool and, as has
	been mentioned, it is critical that backup tools behave
	predictably.  Existing scripts and users must be supported.

    2) It should be possible for newusers, unencumbered with historical
	baggage, to start using the tool easily.  There needs to be a
	"quick on-ramp" for first time users.  It should work
	"out-of-the-box".  In particular, it should know how to reliably
	duplicate files without the need for a lot of command line
	nonsense.

The solution is a concept of "compatibility levels".  This could be either
an environment variable or a command line option (or both) that allows you
to say "I'm working at level X" - which, in practice, will usually mean "I
started using this tool at level X and will probably live the rest of my
life at this level".  In particular, this means that I don't care about all
the historical baggage - I want the tool to do the right thing now.  I want
it to reliably duplicate files out-of-the-box; I don't want to have to
specify command line options: -ksjhfi7q24hf29875rhfewi4nkcfhh to make it do
that.  But, by default, the tool would still require all those options, if
no compatibility level is specified.

One effect of all this is that the rsync "man" page would start with a
"Quick Start" section that would say:

    To get started, do (3 as an example):

	    export RSYNC_COMPATIBILITY_LEVEL=3

    then ignore the rest of this man page.  Old-timers can read the rest if
    they do desire.

I've seen many tools that do this sort of thing.  Consider the C world,
where it happens all the time.  The default is the old behavior, but if you
request the new behavior, you get it.  BTW, one place where trouble awaits
is that the default standard, in the popular compilers,  changes over time.

I've seen people get caught by assuming that the default C standard would
remain C90 forever.  I.e., that that's what you'll get if you don't
specify any "-std=" command line option.  Current versions of gcc default
to either C99 or C11 (not sure which) and the result is that people quickly
learn to *always* specify a "-std=" command line option.

-- 
Donald Drumpf claims to be "the least racist person you'll ever meet".

This would be true if the only other person you've ever met was David Duke.

[toc] | [prev] | [next] | [standalone]


#54515 — Re: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.)

FromChris Elvidge <chris@mshome.net>
Date2019-03-20 13:04 +0000
SubjectRe: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Message-ID<q6tdpk$n0s$1@dont-email.me>
In reply to#54513
On 20/03/2019 12:08, Kenny McCormack wrote:
> In article <877ecuszam.fsf@LkoBDZeT.terraraq.uk>,
> Richard Kettlewell  <invalid@invalid.invalid> wrote:
> ...
>>> And even if they wanted to change the defaults, they probably would
>>> not do it, because that would change the behaviour of existing scripts
>>> of people, which would be even worse.
>>
>> Yes, it's too late now. A bit of thought up-front would have been a good idea.
> 
> Indeed.  But like most programs we use, it was never really designed and it
> was allowed to grow "organically".
> 
> But, fortunately, there is an easy solution to this general sort of problem.
> 
> First, let's agree to assume two things:
>      1) The current situation is a mess, but needs to be kept as is for
> 	compatibility.  I.e., people use this as a backup tool and, as has
> 	been mentioned, it is critical that backup tools behave
> 	predictably.  Existing scripts and users must be supported.
> 
>      2) It should be possible for newusers, unencumbered with historical
> 	baggage, to start using the tool easily.  There needs to be a
> 	"quick on-ramp" for first time users.  It should work
> 	"out-of-the-box".  In particular, it should know how to reliably
> 	duplicate files without the need for a lot of command line
> 	nonsense.
> 
> The solution is a concept of "compatibility levels".  This could be either
> an environment variable or a command line option (or both) that allows you
> to say "I'm working at level X" - which, in practice, will usually mean "I
> started using this tool at level X and will probably live the rest of my
> life at this level".  In particular, this means that I don't care about all
> the historical baggage - I want the tool to do the right thing now.  I want
> it to reliably duplicate files out-of-the-box; I don't want to have to
> specify command line options: -ksjhfi7q24hf29875rhfewi4nkcfhh to make it do
> that.  But, by default, the tool would still require all those options, if
> no compatibility level is specified.

The most reasonable reply to "what I want and I want it now" could be - 
well, write it yourself.

> 
> One effect of all this is that the rsync "man" page would start with a
> "Quick Start" section that would say:
> 
>      To get started, do (3 as an example):
> 
> 	    export RSYNC_COMPATIBILITY_LEVEL=3

How does the developer (you?) know that my compatibility level 3 is the 
same as your compatibility level 3

> 
>      then ignore the rest of this man page.  Old-timers can read the rest if
>      they do desire.
> 
> I've seen many tools that do this sort of thing.  Consider the C world,
> where it happens all the time.  The default is the old behavior, but if you
> request the new behavior, you get it.  BTW, one place where trouble awaits
> is that the default standard, in the popular compilers,  changes over time.
> 
> I've seen people get caught by assuming that the default C standard would
> remain C90 forever.  I.e., that that's what you'll get if you don't
> specify any "-std=" command line option.  Current versions of gcc default
> to either C99 or C11 (not sure which) and the result is that people quickly
> learn to *always* specify a "-std=" command line option.
> 



-- 

Chris Elvidge, England

[toc] | [prev] | [next] | [standalone]


Page 2 of 5 — ← Prev page 1 [2] 3 4 5  Next page →

Back to top | Article view | alt.os.linux


csiph-web