ls - list directory(ies)'s contents or file(s)'s attributes
# Synopsis
# Synopsis
` ls [OPTION]... <PFSPath>`
`ls [-r] <PFSPath> ...`
# Description
# Description
```
```
-R, -r, --recursive
The following options are available:
Copy directories recursively
--page-size (integer)
-r
The number of results to return in each response to a list operation. The default value is 1000 (the maximum allowed). Using a lower value may help if operation time out.
List directory(ies) recursively
```
```
# Examples
# Examples
- The following command lists a single file
- The following command lists a single file
```
```
paddle pfs ls /pfs/mydir/text1.txt
paddle pfs ls /pfs/$DATACENTER/home/$USER/text1.txt
```
Output
```
2017-05-5 17:04:30 text1.txt
```
```
- The following command lists directory contents
- The following command lists directory contents
```
```
paddle pfs ls /pfs/mydir
paddle pfs ls / /pfs/$DATACENTER/home/$USER/folder
@@ -3,43 +3,30 @@ rm - remove files or directories
...
@@ -3,43 +3,30 @@ rm - remove files or directories
# Synopsis
# Synopsis
```
```
rm [OPTION]... <PFSPath>...
rm [-r] [-v] <PFSPath> ...
```
```
# Description
# Description
```
```
-r, -R, --recursive
The following options are available:
-r
remove directories and their contents recursively
remove directories and their contents recursively
--page-size (integer)
-v
The number of results to return in each response to a list operation. The default value is 1000 (the maximum allowed). Using a lower value may help if an operation times out
Cause rm to be verbose, showing files after they are removed.
```
```
# Examples
# Examples
- The following command deletes a single files
- The following command deletes a single file:
```
paddle pfs rm /pfs/mydirectory/test1.txt
```
Output
```
delete /pfs/mydirectory/test1.txt
```
- The following command deletes a directory recursively.