From 737d73903e01b37e0798dc8ba8939dd4795f320c Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Sun, 9 Oct 2016 17:45:46 -0600 Subject: [PATCH] just txz files --- source/md5tofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/md5tofile b/source/md5tofile index d6205a2d..28706313 100755 --- a/source/md5tofile +++ b/source/md5tofile @@ -3,7 +3,7 @@ if [ $# -ne 1 ] ; then echo "Usage $0 [directory]" exit 1 fi -find $1 -type f -print0 | while IFS= read -r -d $'\0' file; do +find $1 -type f -iname "*.txz" -print0 | while IFS= read -r -d $'\0' file; do ( cd "$(dirname "$file")" filename="$(basename "$file")"