[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] OT: bash scripting - check for permissions, check for existence of file in directory tree



Rob Owens wrote:

Nils Breunese wrote:
Rob Owens wrote:

2) I need to check for the existence of a file somewhere in a directory
tree (with lots of subdirectories).

----
find <directory> -name <filename>
----

I thought of that, but suspected there might be a better way.  Guess I
was wrong.

Better in what way?

Nils Breunese.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]