Quantcast
Channel: Explain find's -path and -prune options - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by AlexP for Explain find's -path and -prune options

-path works exactly like -name, but applies the pattern to the entire pathname of the file being examined, instead of to the last component. -prune forbids descending below the found file, in case it...

View Article



Answer by thecarpy for Explain find's -path and -prune options

It is part of the find command, the -exec statement. It allows you to interact with the file/directory found by the find command. find $HOME -path $HOME/$dir_name -prune -o -name "*$file_suffix" -exec...

View Article

Explain find's -path and -prune options

I have a simple script that I understand most of, it's the find command that's unclear. I've got a lot of documentation but it's not serving to make it much clearer. My thought is that it is working...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images