A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Hot answers tagged

4

I decided to go the site : https://nmap.org/book/inst-macosx.html Click on Download https://nmap.org/dist/nmap-7.80.dmg I downloaded that .dmg, installed it, now my nmap working again. Note : I will leave this post since, it might help others in the future.


1

When you're talking about "recursively" then find comes into play. cd /path/to/parent_folder find . -depth -exec do_stuff_here + I'm using -depth so that files in a subdirectory get renamed before the subdirectory itself, and -exec program {} + so that the program receives many filenames at once, reducing startup overhead. Since there's no builtin rename ...


Only top voted, non community-wiki answers of a minimum length are eligible