If I type ls *ro*
I also get files in subdirectories that match the *ro*
pattern.
Is there any option for ls similar to prune?
Ideally a flag, otherwise perhaps an exec?
directoryls
If I type ls *ro*
I also get files in subdirectories that match the *ro*
pattern.
Is there any option for ls similar to prune?
Ideally a flag, otherwise perhaps an exec?
Best Answer
Use the
-d
switch:.....