main
PC-202302260912\Administrator 2023-07-28 10:50:12 +08:00
parent 18cba91feb
commit ddf9072d37
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ source ../main.sh
show_file(){
filer=$1
find /data/update/$filer -printf "%-40f\t%TY-%Tm-%Td %TH:%TM:%TS\n"
#ls /data/update/$filer/ | tr ' ' '\n'
find /data/update/$filer -maxdepth 1 \( -type f -o -type d \) -printf "%-20f\t%TY-%Tm-%Td %TH:%TM:%TS\n"
}
# 判断一个字符串是否是合法的IP地址