How linux skips a specified directory
Editor to share with you how linux skips the specified directory, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Skip the specified directory
When we have time to search, we need to skip some subdirectories.
The code is as follows:
[root@localhost test] # find. \ (- name "jump_dir"-prune\)-o\ (- type f-print\) #\ (- name "jump_dir"-prune\) specifies the name of the subdirectory to skip above is all the content of the article "how linux skips the specified directory". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!