Skip to content

A file listing utility for HDFS filesystems similar to unix find(1).

Notifications You must be signed in to change notification settings

fsfiii/hadoop-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A file listing utility for HDFS filesystems similar to unix find(1).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published