tuipveus

find xargs

Apr 3rd, 2010
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. root@tuipveus:/tmp# time find . -maxdepth 1 -type f -name \*NO-IP* -exec ls '{}' \; |wc -l
  2. 22422
  3.  
  4. real    4m16.999s
  5. user    1m37.822s
  6. sys 2m34.178s
  7.  
  8. find . -type f -name '*.txt' -print0 |xargs -0 -l50 rm
  9. find . -maxdepth 1 -type f -name '*.txt' -print0 |xargs -0 -l50 ls
Add Comment
Please, Sign In to add comment