Answer the question
In order to leave comments, you need to log in
How to traverse a directory in multiple passes?
Push in which direction to look. It is necessary to index a bunch of files in the file system. I tried to recursively go through the directory to search for all the files, but it turns out to be very long and it may happen that there is not enough time for the script to work. How can this task be broken down into smaller tasks? I see an option to get a certain number of files at a time, but the question is how to save the current state so that you can continue searching from it later.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question