Results 1 to 7 of 7

Thread: Alternatives for md5sum?

  1. #1
    Join Date
    Jun 2011
    Beans
    13

    Question Alternatives for md5sum?

    Ahoy,

    I've been finding that md5sum is fairly slow when doing larger files (~200gb). I've had a sticky beak around, but couldn't find anything but maybe one of you lovely people could point me in the way of an alternative or perhaps a fix for this?
    Cheers

    Sys Specs:
    xeon x5460
    8gb ram

  2. #2
    Join Date
    Apr 2009
    Location
    Tennessee, USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Alternatives for md5sum?

    There's shasum. Depending how secure you want it, there is sha1sum sha224sum sha256sum sha384sum sha512sum (From least secure to most, but the more secure, the more processing power required)
    Help me out! Go make a dropbox account from this link to get me more space! https://www.dropbox.com/referrals/NTU2ODUyNDY5 (You get the bonus space too!)

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Alternatives for md5sum?

    Quote Originally Posted by Ozymandias_117 View Post
    There's shasum. Depending how secure you want it, there is sha1sum sha224sum sha256sum sha384sum sha512sum
    +1.

    I use sha1sum all the time.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #4
    Join Date
    Jun 2011
    Beans
    13

    Re: Alternatives for md5sum?

    Thanks guys, I'm using it put across production work so I want to be certain, that what I copied across is the same as what was on the server.

    But, hopefully this might be better then md5

  5. #5
    Join Date
    Jun 2011
    Beans
    13

    Re: Alternatives for md5sum?

    Sorry guys, just another question.
    Have a directory, with 4 sub directories, that all have say 200 files a piece.
    I want to create a sha1 for each file without too much hassle. The man page isn't very helpful

    Would I be better off creating a script?

  6. #6
    Join Date
    Jul 2007
    Location
    Poland
    Beans
    4,499
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Alternatives for md5sum?

    Code:
    find . -type f -exec sha1sum "{}" \;
    if you want to create a file with the list
    Code:
    find . ! -name 'sha1.lst' -type f -exec sha1sum "{}" \; > sha1.lst
    bolded part excludes the result file itself in case you want to rerun the command (already existing file with previous sums would be included)

  7. #7
    Join Date
    Jun 2011
    Beans
    13

    Re: Alternatives for md5sum?

    Thank you very much

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •