forked from fsfiii/hadoop-find
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
36 lines (27 loc) · 1.16 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
hfind
A file listing utility for HDFS filesystems similar to unix find(1).
Requires jruby 1.6+.
# installation
jgem install --no-wrapper hadoop-find
Or simply copy hfind.rb and hfind into your path.
# usage
usage: hfind [options] path
-a, --after # files modified after ISO date
-b, --before # files modified before ISO date
-m, --mmin # files modified before (-x) or after (+x) minutes ago
-M, --mtime # files modified before (-x) or after (+x) days ago
-s, --size # file size > (+x), < (-x), or == (x)
-u, --user # files owned by a particular username
-g, --group # files owned by a particular group
-r, --repl # replication factor > (+x), < (-x), or == (x)
-n, --name # show paths matching a regular expression
-U, --under # show under-replicated files
-t, --type # show type (f)ile or (d)irectory
-l, --ls # show full listing detail
-h, --human # show human readable file sizes
-D, --no-hidden # do not show hidden files
-i, --uri # show full uri for path
-v, --version
-H, --help
Please let me know if you find this software useful!
--frank