shell 某个日期前的某一天(待补充)

e.x.:date +%Y%m%d -d "2 days ago 20131022" 

原文地址:https://www.cnblogs.com/harveyaot/p/3385777.html