Version: v2.18.x
zos file
zos file
Manage USS files in a z/OS system.
Usage
zos file list status [fileName*] --path | -p <path> --limit <limit>
zos file list mounts [fileSystemName*] --mount-point | --mp <mount-point-path> --limit <limit>
Action
Positional Argument
-
fileName*
-
fileSystemName*
Option
-
Full name Alias Type --path -p string --limit number -
Full name Alias Type --mount-point --mp string --limit number
Examples
@bot zos file -p '/u/user'
@bot zos file list -p '/u/user'
@bot zos file list status -p '/u/user'
- Show the files and directories in path '/u/user'.
@bot zos file list status clean* -p '/u/user'
- Show the files and directories whose names start with clean in path '/u/user'.
@bot zos file list mounts
- Show all mounted filesystems.
@bot zos file list mounts --mp '/a/ibmuser'
- Show filesystems which are mounted to a specific path.
@bot zos file list mounts sac*
- Show mounted filesystems with name starting with 'sac'.