From 3dfb10ab2731c685d67481112049870a764bea0d Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 29 Jan 2019 16:47:32 +0100 Subject: depth -> maxdepth --- makecolumns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makecolumns.sh b/makecolumns.sh index b15a2dd..9f6f8b8 100755 --- a/makecolumns.sh +++ b/makecolumns.sh @@ -179,7 +179,7 @@ handle_format_version_3() { export filename_len=$(( `ls | head -n 1 | wc -c` - 1 )) # Get total amount of files, for reporting progress - number_of_files=`find ${FIND_E} . -depth 1 -regex '^\./[0123456789]+' | wc -l` + number_of_files=`find ${FIND_E} . -maxdepth 1 -regex '^\./[0123456789]+' | wc -l` # from 2000F on file 0+3*n is table, so make it default table_file=0; vname_file=2 @@ -232,7 +232,7 @@ handle_format_version_3() { # wipe all temporary extracted files printf "Cleaning up decompressed chunks ... " - find ${FIND_E} . -depth 1 -regex '^\./[0123456789]+' -delete + find ${FIND_E} . -maxdepth 1 -regex '^\./[0123456789]+' -delete printf "done.\n" # rename our columns extracted from the table file -- cgit v1.2.3