Skip to content

Instantly share code, notes, and snippets.

@kjoconnor

kjoconnor/md5sums.sh

Created Mar 20, 2012
Embed
What would you like to do?
Create md5sums file for Debian packages
# Assuming you're in the 'debian' directory and the directories (var, usr, etc.) are contained within
find -type f | egrep -v '^\./DEBIAN' | xargs --replace=hh -n1 md5sum "hh" | sed 's/\ \.\///' > DEBIAN/md5sums
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment