Slightly modified from Joe's answer:
find . -exec openssl md5 {} \+
find . -exec openssl sha1 {} \+
See section 2.3 on
http://www.dwheeler.com/essays/filenames-in-shell.htmlif you intend to
use find!
On Tue, Nov 26, 2013 at 1:22 PM, Devon McCormick <[email protected]> wrote:
> Can you use this:
>
> http://www.jsoftware.com/jwiki/NYCJUG/2009-09-08?highlight=%28walkDir%29#General_Walk_Tree
> ?
>
> It's an adverb that applies its verb to each level of a tree; it works by
> first building the tree, then traversing it. Doing in in two steps like
> this simplifies implementation of a flag to walk the tree breadth- or
> depth- first.
>
>
> On Tue, Nov 26, 2013 at 1:02 PM, Joe Bogner <[email protected]> wrote:
>
> > How about just
> >
> > find . | xargs md5sum
> >
> > Works on cygwin, linux and I assume mac
> >
> >
> >
> > On Tue, Nov 26, 2013 at 12:59 PM, Björn Helgason <[email protected]>
> wrote:
> > > I used some years ago a utility called treesize.
> > >
> > > It was very useful.
> > > On Nov 26, 2013 5:54 PM, "John Baker" <[email protected]> wrote:
> > >
> > >> I'm looking for a portable nonGUI utility that will traverse entire
> > >> directories like dirtree and compute hashes (MD5, SHA1) on the
> contents
> > of
> > >> the files. It would be nice if the same tool worked on the three
> major J
> > >> platforms, win, mac, linux. The tool must scale to directories
> > containing
> > >> 100,000 files.
> > >>
> > >> Any suggestions?
> > >>
> > >> --
> > >> John D. Baker
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >>
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
>
> --
> Devon McCormick, CFA
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm