Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification. The following page has been changed by YoramArnon: http://wiki.apache.org/lucene-hadoop/hadoop-0%2e1-dev/bin/hadoop_dfs ------------------------------------------------------------------------------ exactly one additional argument must be specified. A word about paths: a path may be relative or absolute. An absolute path starts with a '/', a relative path does not, and always relates to /user/. There is no notion of current working directory. - -ls: list the contents of the specified path. If path is not specified, the contents of /user/ will be listed. The output contains one line of the form + -ls : list the contents of the specified path. If path is not specified, the contents of /user/ will be listed. The output contains one line of the form Found n items followed by one line per directory and one line per file. Directory entries are of the form and file entries are of the form fileName size where n is the number of replicas specified for the file and size is the size of the file, in bytes. - -lsr: recursively list the contents of the specified path. Behaves very similarly to hadoop dfs -ls, except that the first line (Found n items) is omitted, and data is produces for all the entries in the subtree. + -lsr : recursively list the contents of the specified path. Behaves very similarly to hadoop dfs -ls, except that the first line (Found n items) is omitted, and data is produces for all the entries in the subtree. + -du : show the amount of space, in bytes, used by given path. Equivalent to the unix command "du -sb /*" in case of a directory, and to "du -b " in case of a file + + -mv : move a file or directory from one location in dfs to another. Equivalent to the Unix command mv < dst> + -cp : copy a file or directory from one location in dfs to another. Equivalent to the Unix command cp -rf < dst> + -rm : remove a file or directory. Equivlent to the Unix command "rm -rf ". + -put : copy a single file from the local file system into dfs. + -copyFromLocal : identical to the -put command + -moveFromLocal : same as -put, except that the source is deleted after it's copied. + -get ] [-cat : + -copyToLocal : copy a single file from dfs to a local file + -moveToLocal : not implemented yet + -mkdir : + -report: + -setrep [-R] +