南港摳頂

南港真是鳥不生蛋 卻是跟台北市一樣貴的物價

2010年1月19日 星期二

Excute command with the result of finding files in a specifical condition

Step1: Test the condition find /local/tmp -name "*no.filecount*" -size -10k Step2: Excute command after the "find", ex: delete the abandoned files ".DS_Store" find /local/1* -name ".DS_Store" -size -10k -exec rm {} \;
張貼者: Clotho 於 4:10 下午 沒有留言:
標籤: ds_store, find, Linux, rm, search
較新的文章 較舊的文章 首頁
訂閱: 文章 (Atom)

網誌存檔

  • ▼  2010 (23)
    • ►  12月 (2)
    • ►  8月 (2)
    • ►  7月 (2)
    • ►  6月 (1)
    • ►  4月 (6)
    • ►  3月 (7)
    • ►  2月 (2)
    • ▼  1月 (1)
      • Excute command with the result of finding files in...
  • ►  2009 (42)
    • ►  11月 (4)
    • ►  10月 (2)
    • ►  9月 (13)
    • ►  8月 (2)
    • ►  7月 (8)
    • ►  5月 (1)
    • ►  2月 (5)
    • ►  1月 (7)
  • ►  2008 (32)
    • ►  12月 (2)
    • ►  11月 (4)
    • ►  9月 (4)
    • ►  8月 (2)
    • ►  7月 (3)
    • ►  6月 (6)
    • ►  5月 (3)
    • ►  4月 (7)
    • ►  3月 (1)
  • ►  2007 (33)
    • ►  12月 (8)
    • ►  11月 (7)
    • ►  10月 (2)
    • ►  9月 (3)
    • ►  6月 (4)
    • ►  5月 (2)
    • ►  2月 (7)
  • ►  2006 (1)
    • ►  11月 (1)
  • ►  2005 (1)
    • ►  11月 (1)

關於我自己

Clotho
檢視我的完整簡介
輕柔雅緻主題. 技術提供:Blogger.