diff --git a/function/function.sh b/function/function.sh index b35d512..bee9364 100644 --- a/function/function.sh +++ b/function/function.sh @@ -4,7 +4,7 @@ source ../main.sh show_file(){ filer=$1 - find /data/update/$filer -type f -printf "%f\t%Tc\n" + find /data/update/$filer -printf "%-40f\t%TY-%Tm-%Td %TH:%TM:%TS\n" } # 判断一个字符串是否是合法的IP地址