找出特定天數前,到目前為止曾經異動過的檔案, 然後備份成tgz檔案 發佈日期: 2010-11-15 Last Updated on 2010-11-15 by william 找出360天前,副檔名(4gl,per,4fd)曾經異動過的檔案, 然後備份成tgz. find . ( -name “*.4gl” -o -name “*.per” -o -name “*.4fd” ) -type f -ctime -360 -fprint file_list.william tar -czvf toptest.20101115.tgz -T file_list.william 分類:技術 linux
搶先發佈留言