多個文件按日期舊到新合併 - Linux
By Jack
at 2013-05-02T22:57
at 2013-05-02T22:57
Table of Contents
我有多個文件想要按文件日期由舊到新合併成一個檔案
下面例子是按文件名稱1.txt ~ 1000.txt 合併
for ((i=1;i<1000;i++)) do cat $i.txt>>sum.txt done
請問如果要照上面方法有什麼辦法改成日期?
謝謝
--
下面例子是按文件名稱1.txt ~ 1000.txt 合併
for ((i=1;i<1000;i++)) do cat $i.txt>>sum.txt done
請問如果要照上面方法有什麼辦法改成日期?
謝謝
--
Tags:
Linux
All Comments
By Yuri
at 2013-05-06T12:38
at 2013-05-06T12:38
By Puput
at 2013-05-10T22:45
at 2013-05-10T22:45
By Tristan Cohan
at 2013-05-15T03:18
at 2013-05-15T03:18
Related Posts
emacs 中輸入中文 (fedora or ubuntu)
By Charlie
at 2013-05-02T22:39
at 2013-05-02T22:39
取代(sed)變數(遞增值)方法
By Yuri
at 2013-05-02T15:31
at 2013-05-02T15:31
sudo passwd
By Edwina
at 2013-05-02T15:06
at 2013-05-02T15:06
請問一下big5 轉碼上bbs
By Carol
at 2013-05-02T11:47
at 2013-05-02T11:47
直接丟檔案與透過WinSCP.exe
By Yedda
at 2013-05-02T11:38
at 2013-05-02T11:38