csh if file exists的相關文章
csh if file exists的相關公司資訊
csh if file exists的相關商品

TCSH / CSH / C Shell Check Whether a Directory is Empty or Not
瀏覽:1072
日期:2025-04-30
2011年7月5日 - bin/csh set dir="$1" set c=0 # make sure $dir exits if ( -d ${dir} ) then set c=`ls -a ... is empty if ( "${c}" == 2 ) then echo "Empty directory - "${dir} else #dir has files echo "Dir ......看更多