$ hdfs dfs -copyFromLocal local_path hdfs_path
$ hdfs dfs -copyFromLocal -f testfile.txt /user/copy_from_local_example