创建20221001到20221031的txt文件
touch {20221001..20221031}.txt
ls
删除20221001到20221031的txt文件
find /var/ -name '*.txt' |xargs rm -rf {20221001..20221031}.txt
ls
find -name {20221001-20221031}.txt 这样写会报错,原因是find只能跟一个文件,跟多个文件属于语法错误
创建20221001到20221031的txt文件
touch {20221001..20221031}.txt
ls
删除20221001到20221031的txt文件
find /var/ -name '*.txt' |xargs rm -rf {20221001..20221031}.txt
ls
find -name {20221001-20221031}.txt 这样写会报错,原因是find只能跟一个文件,跟多个文件属于语法错误