すみません、うまくいかないというよりは警告が表示するんです。
find . -name "20161031_*" -maxdepth 1 -exec basename {} \; | cut -d_ -f2 | awk '{if(m<$1) m=$1} END{print m}'
find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/10/31 07:52
2016/10/31 07:54
2016/10/31 08:06
2016/10/31 08:09
2016/10/31 08:16
2016/10/31 09:32 編集