[Top][All Lists]

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

Problems when specifying -maxdepth

From: hancooper
Subject: Problems when specifying -maxdepth
Date: Fri, 20 Aug 2021 17:44:27 +0000

I am getting complaints by find when using

dlc=$( find $2 -type d -maxdepth $3 | tr "\n" " " )

find ./01cuneus -type d -maxdepth 2 | tr "\n" " "
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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]