Md5sum: Difference between revisions

From Leo's Notes
This page was last edited on 29 April 2013, at 08:09.
mNo edit summary
Line 4: Line 4:
== Linux ==
== Linux ==
To <code>md5sum</code> files recursively, run:
To <code>md5sum</code> files recursively, run:
<syntaxhighlight lang="bash" line start="1" enclose="div">
  find ./target -type f -exec md5sum {} \;>> /checksum.md5
  find ./target -type f -exec md5sum {} \;>> /checksum.md5
</syntaxhighlight>


[[Category:FreeBSD]]
[[Category:FreeBSD]]
[[Category:Linux]]
[[Category:Linux]]

Revision as of 08:09, 29 April 2013

FreeBSD

FreeBSD does have md5sum, it's just named gmd5sum. The 'g' is for GNU.

Linux

To md5sum files recursively, run:

 find ./target -type f -exec md5sum {} \;>> /checksum.md5