| Flag | Usage |
|---|---|
| -f | overwrite the destination if it already exists |
| Flag | Usage |
|---|---|
| -f | overwrite the destination if it already exists |
| Flag | Usage |
|---|---|
| -p | create parent directories along the path, just like Bash's mkdir -p does |
| Flag | Usage |
|---|---|
| -h | use human-readable units : K, M, G, |
| -s | sum the files sizes rather than displaying each file size individually |
119.5 K /path/to/myData/dataSource/dataSet/year=2022/month=10
| Flag | Usage |
|---|---|
| -C | display the paths of files but not the other fields (i.e. don't display permissions, owner, group, dates, ) like ls -1 does) |
| -R | Recursively list subdirectories encountered |
| Flag | Usage |
|---|---|
| -r -R | recursively delete a directory and its content The rmr command has been deprecated by rm -r
|
| -safely | before deleting directory, prompt for confirmation if total number of files > hadoop.shell.delete.limit.num.files (set in core-site.xml, default: 100)
|
| -skipTrash | delete the specified files immediately instead of moving them to the trash
This is a dangerous option which use is discouraged.
|