[ale] SHA1SUM question

James P. Kinney III jkinney at localnetsolutions.com
Wed Dec 6 17:20:12 EST 2006


On Wed, 2006-12-06 at 16:59 -0500, Jerry Yu wrote:
> I knew it can do files as well as directories, but I just didn't know
> rsync has intelligence to fetch the 'diff' between the source and a
> corrupted download. I assume that's what you meant, right?

That's right. Recall, rsynch does a block-by-block file comparison. It
will make the child file look just like the parent files.
> 
> On 12/6/06, James P. Kinney III <jkinney at localnetsolutions.com> wrote:
>         Jerry,
>         If you just specify a file, that's all it will do. I've been
>         using it
>         lately to spread around config file updates to a list of
>         servers
>         
>         for server in `cat serverlist`
>         do
>         rsync -e ssh foo $server:foo 
>         done
>         
>         With ssh-keys installed, life is smooth. :)
>         
>         On Wed, 2006-12-06 at 10:20 -0500, Jerry Yu wrote:
>         > Thanks, James. I usually use rsync to sync up directories,
>         but didn't
>         > know it can efficiently sync up partial/corrupted single
>         file as 
>         > well.
>         >
>         > John, my torrent session takes three hours to finish the
>         last 1%, not
>         > exactly sure why.
>         >
>         > On 12/6/06, James P. Kinney III
>         <jkinney at localnetsolutions.com> wrote:
>         >         It just a basic rsync process to the server. The
>         caveat is the
>         >         server
>         >         must support rsync. "rsync <options> <master-file> 
>         >         <copy-file>". I have
>         >         used this on the Fedora mirrors that support rsync
>         with great
>         >         success.
>         >
>         >         The nice thing is if the connection croaks, just run
>         it again. 
>         >
>         >         On Wed, 2006-12-06 at 08:39 -0500, Jerry Yu wrote:
>         >         > John,  I downloaded a month back and my sha1sum
>         does match.
>         >         > James, I'd like to learn how to 'clean-up' a
>         corrupted 
>         >         download of a
>         >         > single file using rsync?  Occasionally a large
>         download gets
>         >         corrupted
>         >         > and it's pia to restart from scratch...
>         >         >
>         >         > On 12/5/06, James P. Kinney III
>         >         <jkinney at localnetsolutions.com> wrote:
>         >         >         John,
>         >         >
>         >         >         The sha1sum works just like the md5sum but
>         uses a
>         >         different
>         >         >         algorithm.
>         >         >         If the checksum is bad either the download
>         is bad or 
>         >         the
>         >         >         checksum is
>         >         >         bad. I have had good luck using rsync to
>         "cleanup" a
>         >         bad
>         >         >         download.
>         >         > 
>         >         >         On Tue, 2006-12-05 at 21:48 -0500, John
>         Mills wrote:
>         >         >         > ALErs -
>         >         >         >
>         >         >         > I downloaded the FC6 i386 DVD image, and
>         also a 
>         >         file of SHA1
>         >         >         sums for the
>         >         >         > various FC6 *.iso files. I ran 'sha1sum'
>         on my
>         >         file and it
>         >         >         wasn't even 
>         >         >         > close.
>         >         >         > That's a lot of downloading for garbage
>         results!
>         >         >         >
>         >         >         > Is there a second check on this in case
>         I made a 
>         >         mistake the
>         >         >         first time?
>         >         >         > It's the first time I use sha1sum so
>         I'ld love to
>         >         be wrong,
>         >         >         but it looked 
>         >         >         > pretty simple going in!
>         >         >         >
>         >         >         > $%^&%#@!!
>         >         >         >
>         >         >         >  - Mills
>         >         >         >
>         >         >         >
>         _______________________________________________
>         >         >         > Ale mailing list
>         >         >         > Ale at ale.org
>         >         >         > http://www.ale.org/mailman/listinfo/ale
>         >         >         --
>         >         >         James P. Kinney III 
>         >         >         CEO & Director of Engineering
>         >         >         Local Net Solutions,LLC
>         >         >         770-493-8244
>         >         >         http://www.localnetsolutions.com
>         >         >
>         >         >         GPG ID: 829C6CA7 James P. Kinney III
>         ( M.S. Physics)
>         >         >         <jkinney at localnetsolutions.com>
>         >         >         Fingerprint = 3C9E 6366 54FC A3FE BA4D
>         0659 6190
>         >         ADC3 829C
>         >         >         6CA7
>         >         >
>         >         >
>         >         >
>         _______________________________________________ 
>         >         >         Ale mailing list
>         >         >         Ale at ale.org
>         >         >         http://www.ale.org/mailman/listinfo/ale
>         >         >
>         >         >
>         >         >
>         >         > _______________________________________________
>         >         > Ale mailing list
>         >         > Ale at ale.org
>         >         > http://www.ale.org/mailman/listinfo/ale
>         >         --
>         >         James P. Kinney III
>         >         CEO & Director of Engineering 
>         >         Local Net Solutions,LLC
>         >         770-493-8244
>         >         http://www.localnetsolutions.com
>         >
>         >         GPG ID: 829C6CA7 James P. Kinney III ( M.S. Physics)
>         >         <jkinney at localnetsolutions.com>
>         >         Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190
>         ADC3 829C
>         >         6CA7
>         > 
>         >
>         >         _______________________________________________
>         >         Ale mailing list
>         >         Ale at ale.org
>         >         http://www.ale.org/mailman/listinfo/ale
>         >
>         >
>         >
>         > _______________________________________________
>         > Ale mailing list
>         > Ale at ale.org
>         > http://www.ale.org/mailman/listinfo/ale
>         --
>         James P. Kinney III
>         CEO & Director of Engineering
>         Local Net Solutions,LLC
>         770-493-8244
>         http://www.localnetsolutions.com
>         
>         GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
>         <jkinney at localnetsolutions.com>
>         Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C
>         6CA7 
>         
>         
>         _______________________________________________
>         Ale mailing list
>         Ale at ale.org
>         http://www.ale.org/mailman/listinfo/ale 
>         
>         
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list