On Tue, Feb 20, 2001 at 05:05:52PM -0600, [EMAIL PROTECTED] scribbled:
> Having said that, one of the things on my list of "ToDos" is to 
> change apkg to generate *.md5 for every file in the package for 
> checking purposes.  This would mean:

Every file? That's a hell of a lot of md5suming. Would not a
single md5sum of all the files suffice?

> The main problem to date has been that not all things put in a *.lrp 
> are files - often they are directories, which cannot have a *.md5 sum 
> taken.

But, why would you want to md5sum a directory? To confirm that 
it contains the same files which contain the same data? Why not
md5sum the concatenation of all files in the dir, or even of all
the md5sums of all the files in the dir?

> As a matter of record, I might note that Oxygen now comes with md5sum 
> loaded.  The challenge is this:
> 
> Given an input of:
> 
> /some/dir
> /some/wild*
> /some/file2
> /some/dir2/file*
> /some/dir2/dir*
> 
> Generate an output containing an md5sum of all files....

That would be a challenge indeed, for slower cpus.

If your challenge is to step through the list, using each line as an
argument for md5sum, I can help, with a method Charles devised when I
asked for help doing something similar for mp3s... :)

> I've taken a quick stab at it - once I get busybox updated, it should 
> be nicer - the newest version contains support for find -type and 
> find -mtime ...and even find -perm ...

Does your busybox find support -exec?

> Should be easier (easy?) to do using find -type f ...
> 
> -- 
> David Douthitt
> UNIX Systems Administrator
> HP-UX, Linux, Unixware
> [EMAIL PROTECTED]
-- 
rick -- A mind is like a parachute... it only works when it's open.

ICQ# 1590117                           [EMAIL PROTECTED] (home)   
Help with LRP: http://lrp.c0wz.com     Home page: http://www.c0wz.com

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to