| sidebar | sidebar |
|---|---|
| permalink | xcp-nfs-reference-delete.html |
| keywords | netapp, xcp, reference, nfs, command, commands |
| summary | XCP NFS command reference |
The XCP NFS delete command deletes everything in a given path.
xcp delete <NFS export path>The following table lists the delete parameters and their description.
| Parameter | Description |
|---|---|
Only processes the files and directories that match the filter. |
|
Deletes without confirmation. |
|
Removes the directory, including child directories. |
|
Excludes the files and directories that match the filter. |
|
Specifies the maximum concurrent batch processes (default: 7). |
|
Preserves access time of the file or directory (default: false). |
|
Sets the log level; available levels are INFO, DEBUG (default: INFO). |
|
Provides the option to use HTTP instead of HTTPS for S3 bucket communication. |
|
Overrides the default Amazon Web Services (AWS) endpoint URL with the specified URL for S3 bucket communication. |
|
Specifies a profile from the AWS credential file for S3 bucket communication. |
|
Overrides the default verification of SSL certification for S3 bucket communication. |
Use the -match <filter> parameter with the delete command to only process the files and directories that match the filter.
xcp delete -match <filter> <NFS export path>Use the -force parameter with the delete command to delete without confirmation.
xcp delete -force <NFS export path>Use the -removetopdir parameter with the delete command to remove the directory, including child directories.
xcp delete -force -loglevel <name> -removetopdir <NFS export path>Use the -exclude <filter> parameter with the delete command to exclude the files and directories that match the filter.
xcp delete -force -exclude <filter> <NFS export path>Use the -parallel <n> parameter with the delete command to specify the maximum number of concurrent batch processes. The default value is 7.
xcp delete -force -parallel <n> -match <filter> <NFS export path>Use the -preserve-atime <preserve-atime> parameter with the delete command to preserve the access time of a file or directory. The default value is false.
xcp delete -force -preserve-atime <NFS export path>Use the -loglevel <name> parameter with the delete command to set the log level; available levels are INFO and DEBUG. The default level is INFO.
xcp delete -force -loglevel DEBUG -removetopdir <NFS export path>Use the -s3.insecure parameter with the delete command to use HTTP instead of HTTPS for S3 bucket communication.
xcp delete -s3.insecure s3://bucket1Use the -s3.endpoint <s3_endpoint_url> parameter with the delete command to override the default AWS endpoint URL with a specified URL for S3 bucket communication.
xcp delete -s3.endpoint https://<endpoint_url>: s3://bucketUse the s3.profile parameter with the delete command to specify a profile from the AWS credential file for S3 bucket communication.
xcp delete -s3.profile sg -s3.endpoint https://<endpoint_url>:
s3://bucketUse the -s3.noverify parameter with the delete command to override the default verification of SSL certification for S3 bucket communication.
xcp delete -s3.noverify s3://bucket