M
M
m00nkey2014-09-23 12:46:22
linux
m00nkey, 2014-09-23 12:46:22

How to build a tree of directories using bash and step through them one by one?

Good day!
There is a certain directory tree, it is necessary to go through each directory one by one, perform a certain operation, and continue moving to the next directory.
How can I do that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2014-09-23
@m00nkey

find ./ -type d
will exhaust all directories from the current
bypass in a loop or use the -exec option of find itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question