itchiodl/upgrade_tree.sh
Peter Taylor 68b7f19420
Fixes using md5sums (#46)
* Allow for updates

* this should work

* autopep8 action fixes (#47)

Co-authored-by: Emersont1 <Emersont1@users.noreply.github.com>

* autopep8 action fixes (#48)
2022-04-13 21:28:25 +01:00

5 lines
No EOL
145 B
Bash
Executable file

#! /bin/sh
find $1 -maxdepth 3 -mindepth 3 -type f -print0 | while IFS= read -r -d '' f; do
md5sum "$f" | cut -d ' ' -f 1 >> "$f.md5";
done