0

I have a directory with many files. I would like to run a command against these files (ie. md5sum). Instead of keep recomputing the checksum I would like to store the checksum. I would like to compute the checksums in a parallel manner (make -j)

NinjaGaiden
  • 3,046
  • 6
  • 28
  • 49

1 Answers1

1

Something like:

md5sums: $(addsuffix .md5sum,$(wildcard *.foo))

%.md5sum: %
        md5sum $< > $@

That's about the best we can do with the limited description available.

MadScientist
  • 92,819
  • 9
  • 109
  • 136