Linux shell 获取当前时间之前N天

date +%Y%m%d --date '2 days ago'

更多资料关注:www.kootest.com ;技术交流群:182526995