Skip to content

Latest commit

 

History

History
176 lines (113 loc) · 5.36 KB

xcp-nfs-reference-delete.adoc

File metadata and controls

176 lines (113 loc) · 5.36 KB
sidebar permalink keywords summary
sidebar
xcp-nfs-reference-delete.html
netapp, xcp, reference, nfs, command, commands
XCP NFS command reference

delete

The XCP NFS delete command deletes everything in a given path.

Syntax
xcp delete <NFS export path>

The following table lists the delete parameters and their description.

Parameter Description

delete -match <filter>

Only processes the files and directories that match the filter.

delete -force

Deletes without confirmation.

delete -removetopdir

Removes the directory, including child directories.

delete -exclude <filter>

Excludes the files and directories that match the filter.

delete -parallel <n>

Specifies the maximum concurrent batch processes (default: 7).

delete -preserve-atime

Preserves access time of the file or directory (default: false).

delete -loglevel <name>

Sets the log level; available levels are INFO, DEBUG (default: INFO).

delete -s3.insecure

Provides the option to use HTTP instead of HTTPS for S3 bucket communication.

delete -s3.endpoint <s3_endpoint_url>

Overrides the default Amazon Web Services (AWS) endpoint URL with the specified URL for S3 bucket communication.

delete -s3.profile <profile_name>

Specifies a profile from the AWS credential file for S3 bucket communication.

delete -s3.noverify

Overrides the default verification of SSL certification for S3 bucket communication.

delete -match <filter>

Use the -match <filter> parameter with the delete command to only process the files and directories that match the filter.

Syntax
xcp delete -match <filter> <NFS export path>

delete -force

Use the -force parameter with the delete command to delete without confirmation.

Syntax
xcp delete -force <NFS export path>

delete -removetopdir

Use the -removetopdir parameter with the delete command to remove the directory, including child directories.

Syntax
xcp delete -force -loglevel <name> -removetopdir <NFS export path>

delete -exclude <filter>

Use the -exclude <filter> parameter with the delete command to exclude the files and directories that match the filter.

Syntax
xcp delete -force -exclude <filter>  <NFS export path>

delete -parallel <n>

Use the -parallel <n> parameter with the delete command to specify the maximum number of concurrent batch processes. The default value is 7.

Syntax
xcp delete -force -parallel <n> -match <filter> <NFS export path>

delete -preserve-atime

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.

Syntax
xcp delete -force -preserve-atime <NFS export path>

delete -loglevel <name>

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.

Syntax
xcp delete -force -loglevel DEBUG -removetopdir <NFS export path>

delete -s3.insecure

Use the -s3.insecure parameter with the delete command to use HTTP instead of HTTPS for S3 bucket communication.

Syntax
xcp delete -s3.insecure s3://bucket1

delete -s3.endpoint <s3_endpoint_url>

Use 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.

Syntax
xcp delete -s3.endpoint https://<endpoint_url>: s3://bucket

delete -s3.profile <name>

Use the s3.profile parameter with the delete command to specify a profile from the AWS credential file for S3 bucket communication.

Syntax
xcp delete -s3.profile sg -s3.endpoint https://<endpoint_url>:
s3://bucket

delete -s3.noverify

Use the -s3.noverify parameter with the delete command to override the default verification of SSL certification for S3 bucket communication.

Syntax
xcp delete -s3.noverify s3://bucket