On 8/20/21 7:44 PM, hancooper via Bug reports for the GNU find utilities wrote:
> find ./01cuneus -type d -maxdepth 2
> find: warning: you have specified the -maxdepth option after a non-option 
> argument -type, \
> but options are not positional (-maxdepth affects tests specified before it 
> as well as \
> those specified after it). Please specify options before other arguments.

Move -maxpdepth before the tests/actions:

$ find ./01cuneus -maxdepth 2 -type d

Have a mice day,
Berny


Reply via email to