@CliCommand(value = PREFIX + "put", help = "Copy single src, or multiple srcs from local file system to the destination file system")
	public void put(@CliOption(key = { FROM }, mandatory = true, help = SOURCE_FILE_NAMES) final String source,
			@CliOption(key = { "to" }, mandatory = true, help = DESTINATION_PATH_NAME) final String dest) {
		List<String> argv = new ArrayList<String>();
		argv.add("-put");
		String[] fileNames = source.split(" ");
		argv.addAll(Arrays.asList(fileNames));
		argv.add(dest);
		run(argv.toArray(new String[0]));
	}
HDFS shell commands

@author Jarred Li
@author Glenn Renfro
spring-xd-shell/src/main/java/org/springframework/xd/shell/hadoop/FsShellCommands.java