Get the App
SLTechnology News&Howtos  ›  Development  › 

How linux skips a specified directory

Shulou Source: shulou.com Published: 2022-06-01 04:59:05 10月03日 Update

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!

Tags: Directories articles content subcategories subdirectories not much code names most time more knowledge industry information information channels channels references learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Xiaomi Shulou Tech Info Apple Shulou Technology