rm files - Linux

By Candice
at 2009-07-11T02:28
at 2009-07-11T02:28
Table of Contents
請問
譬如資料夾底下有檔案1 2 3 4 5
我想保留檔案2的話可以使用 rm 1 3 4 5
但是當檔案很多的話
如有 1 2 3 ...999 1000
此時只想保留檔案2 5 10有沒有甚麼組合指令可以直接辦到??
除了cp 2 5 10到別的資料夾底下再全刪
然後在cp 2 5 10回來...
謝謝
--
per te io ruberò
ogni colore al cielo
dipingerò i miei piedi e ti raggiungerò
per lasciare una traccia un sentiero
che mi riporti da te
--
譬如資料夾底下有檔案1 2 3 4 5
我想保留檔案2的話可以使用 rm 1 3 4 5
但是當檔案很多的話
如有 1 2 3 ...999 1000
此時只想保留檔案2 5 10有沒有甚麼組合指令可以直接辦到??
除了cp 2 5 10到別的資料夾底下再全刪
然後在cp 2 5 10回來...
謝謝
--
per te io ruberò
ogni colore al cielo
dipingerò i miei piedi e ti raggiungerò
per lasciare una traccia un sentiero
che mi riporti da te
--
Tags:
Linux
All Comments

By Madame
at 2009-07-13T12:32
at 2009-07-13T12:32

By Elma
at 2009-07-13T21:15
at 2009-07-13T21:15

By Heather
at 2009-07-14T05:23
at 2009-07-14T05:23

By Carol
at 2009-07-14T22:08
at 2009-07-14T22:08
Related Posts
只是一個提案,想要請教可行度

By Lily
at 2009-07-11T02:01
at 2009-07-11T02:01
有人用 virtualbox 灌成功 FEDORA 11 嗎?

By Noah
at 2009-07-11T01:10
at 2009-07-11T01:10
good site

By Emma
at 2009-07-10T23:05
at 2009-07-10T23:05
新手安裝debian,誠心請教linux高手們。

By Doris
at 2009-07-10T21:07
at 2009-07-10T21:07
Vim的縮行指令 gqaq最多只能縮七行?

By Ula
at 2009-07-10T18:39
at 2009-07-10T18:39