Android experiences
Thursday, March 26, 2009
Delete large number of file by 'find and rm'
find ./ -iname 'test-file-*' | xargs rm -rf
rm 有最大刪除檔案的限制,大概是 2 萬個,若超過會出現錯誤訊息。
The maximum file limitation of deletion one time about 20 thousand.
引用:
使用 find 搭配 rm 刪除大量檔案
No comments:
Post a Comment
You can leave any question here and I will make a response to you ASAP. :D
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
You can leave any question here and I will make a response to you ASAP. :D