請問是否可以寫批次檔抓FTP最新更新的檔案.. - Linux

By Ida
at 2011-03-03T01:13
at 2011-03-03T01:13
Table of Contents
目前想要寫批次檔...去抓linux FTP檔案...
如果有個資料夾..叫做/usr/data/
裡面有data1~data100
我知道mget可以抓可以直接抓這整個資料夾的東西..
但是否有指令可以設定讓我只要抓最新的三筆資料..
或是只要抓幾天內的資料
我有想到一個方法..但是會卡住
搜尋/usr/data/內兩天內更新的資料...
我的寫法=> find /usr/data/ -name "*" -mtime-2
但是搜尋出來之後...我要怎麼把它下載下來呢...
請高手幫幫忙...謝謝
--
Tags:
Linux
All Comments

By Audriana
at 2011-03-03T18:22
at 2011-03-03T18:22

By Zora
at 2011-03-08T08:14
at 2011-03-08T08:14
Related Posts
Linux的安全性更新支援期限

By Jacky
at 2011-03-02T21:34
at 2011-03-02T21:34
不小心用Wine幹蠢事了...

By Sierra Rose
at 2011-03-02T21:18
at 2011-03-02T21:18
不小心用Wine幹蠢事了...

By Isla
at 2011-03-02T19:07
at 2011-03-02T19:07
Linux 網路使用率、流量

By Tristan Cohan
at 2011-03-02T13:38
at 2011-03-02T13:38
請問哪有Android ISO檔可下載?

By Heather
at 2011-03-02T13:32
at 2011-03-02T13:32