just txz files
This commit is contained in:
parent
4dedf6f89a
commit
737d73903e
|
@ -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")"
|
||||
|
|
Loading…
Reference in New Issue
Block a user