原文(source): bash - How to delete the oldest directory in a given directory? - Unix & Linux Stack Exchange
4 月 202013
# 記錄本次備份第一次全部備份之時間: touch bkup_last_time
# 下次備份 /etc 目錄時, 不全部備份, 只備份異動檔, 方法如下:
find /etc -cnewer bkup_last_time > newbk.lst
tar cvf etc.newer.tar -T newbk.lst
# 記錄本次備份之時間: touch bkup_last_time
# 下次備份時再重覆上述步驟.