diff --git a/main.sh b/main.sh index 0da9e23..0393274 100644 --- a/main.sh +++ b/main.sh @@ -39,7 +39,7 @@ is_valid_ip() { # 显示指定目录下的文件或目录 show_file(){ filer=$1 - find /data/update/"$filer" -maxdepth 1 \( -type f -o -type d \) -printf "%-20f\t%TY-%Tm-%Td %TH:%TM:%TS\n" + find /data/update/"$filer" -maxdepth 1 \( -type f -o -type d \) -printf "%-20f\t%TY-%Tm-%Td %TH:%TM:%TS\n" | sort -n } # 发包并解压缩