yay4juggs

Untitled

Aug 1st, 2011
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1.  
  2. $ /data/local/tmp/busybox touch /var/tmp/foo
  3. /data/local/tmp/busybox touch /var/tmp/foo
  4. touch: /var/tmp/foo: Permission denied
  5. $ /data/local/tmp/busybox find /osh -file 'xargs' 2>&1 | /data/local/tmp/busybox grep -v -i denied
  6. /data/local/tmp/busybox find /osh -file 'xargs' 2>&1 | /data/local/tmp/busybox grep -v -i denied
  7. find: unrecognized: -file
  8. BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary.
  9.  
  10. Usage: find [PATH]... [EXPRESSION]
  11.  
  12. Search for files. The default PATH is the current directory,
  13. default EXPRESSION is '-print'
  14.  
  15. EXPRESSION may consist of:
  16. -follow Follow symlinks
  17. -xdev Don't descend directories on other filesystems
  18. -maxdepth N Descend at most N levels. -maxdepth 0 applies
  19. tests/actions to command line arguments only
  20. -mindepth N Don't act on first N levels
  21. -name PATTERN File name (w/o directory name) matches PATTERN
  22. -iname PATTERN Case insensitive -name
  23. -path PATTERN Path matches PATTERN
  24. -regex PATTERN Path matches regex PATTERN
  25. -type X File type is X (X is one of: f,d,l,b,c,...)
  26. -perm NNN Permissions match any of (+NNN), all of (-NNN),
  27. or exactly NNN
  28. -mtime DAYS Modified time is greater than (+N), less than (-N),
  29. or exactly N days
  30. -mmin MINS Modified time is greater than (+N), less than (-N),
  31. or exactly N minutes
  32. -newer FILE Modified time is more recent than FILE's
  33. -user NAME File is owned by user NAME (numeric user ID allowed)
  34. -group NAME File belongs to group NAME (numeric group ID allowed)
  35. -depth Process directory name after traversing it
  36. -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
  37. +/-N: file size is bigger/smaller than N
  38. -print Print (default and assumed)
  39. -print0 Delimit output with null characters rather than
  40. newlines
  41. -exec CMD ARG ; Run CMD with all instances of {} replaced by the
  42. matching files
  43. -prune Stop traversing current subtree
  44. (EXPR) Group an expression
  45.  
  46. $
Advertisement
Add Comment
Please, Sign In to add comment