[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:
From: |
Dale R. Worley |
Subject: |
Re: |
Date: |
Fri, 15 Mar 2019 20:33:46 -0400 |
I think what you are asking for is something like:
i=0
while ...
do
find . -mindepth $i -maxdepth $i ...
i=$(( i+1 ))
done
That will look at all the files and directories at one depth before
looking at all the files and directories at the next greater depth. (It
doesn't have any way of testing when i is larger than the depth of the
file tree.)
Dale
- [no subject], Budi, 2019/03/15
- Re:, Eric Blake, 2019/03/15
- Re:,
Dale R. Worley <=