4 Answered Questions for the topic recursion
06/21/19
How to recursively find and list the latest modified files in a directory with subdirectories and times?
- Operating system: Linux
- Filesystem type: ext3
- Preferred solution: bash (script/oneliner), ruby, python
I have several directories with several subdirectories and files in them. I need to...
more
06/04/19
Way to go from recursion to iteration?
I've used recursion quite a lot on my many years of programming to solve simple problems, but I'm fully aware that sometimes you need iteration due to memory/speed problems.So, sometime in the very...
more
06/01/19
What is tail recursion?
While learning lisp, I've come across the term *tail-recursive*. What does it mean exactly?
Recursively look for files with a specific extension?
I'm trying to find all files with a specific extension in a directory and its subdirectories with my bash (Latest Ubuntu LTS Release).
This is what's written in a script file:
#!/bin/bash
...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.