Calculate md5 checksums for all of the files in a directory

Need to calculate md5 checksums for all of the files in a directory ? Linux has the answer 😉

find <> -type f -print0 | xargs -0 md5sum >> filelist.md5

Where
<> is name of the directory
filelist.md5 containst the file list with md5 checksums

Advertisements

About Jon Giffard

Husband, father, motorcyclist , amateur runner ( on hold due to knee injury ) - now trying not to drown whilst swimming. Product Manager at Webroot Not available for yodelling. Please do not ask.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s