start_date='20201201'
end_date='20201221'
while [ "${start_date}" -le "${end_date}" ];
do
    start_date=`date -d "$start_date" +%Y-%m-%d`
    echo ${start_date}
    start_date=$(date -d "$start_date+1days" +%Y%m%d)
done


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
猜你喜欢
  • 2021-07-08
  • 2021-06-16
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
相关资源
相似解决方案