QingStor(1)			Qsctl Reference 		   QingStor(1)

NAME
       qsctl-rm

SYNOPSIS
       qsctl rm <qs-path> [-r, --recursive] [--exclude] [--include]

DESCRIPTION
       Delete a qingstor key or keys under a prefix.

OPTIONS
       -r, --recursive
	   Recursively delete qingstor keys under a prefix.

       --include
	   Exclude all keys that match the specified pattern.

       --exclude
	   Do not exclude keys that match the specified pattern.

EXAMPLES
       The following rm command removes a qingstor key:

	   $ qsctl rm qs://mybucket/test.txt

       Output:

	   Key <test.txt> deleted

       The  following  rm command uses the -r option to recursively remove all
       of the keys under the prefix myprefix in the bucket mybucket:

	   $ qsctl rm qs://mybucket/myprefix -r

       Output:

	   Key <myprefix.txt> deleted
	   Key <myprefix/txt/test.txt> deleted
	   Key <myprefix/jpg/test.jpg> deleted

       The following rm command uses the  --exclude  option  to  exclude  keys
       match a specified patten. Key <myprefix/test.jpg> is skipped:

	   $ qsctl rm qs://mybucket/myprefix -r --exclude "*.jpg"

       Output:

	   Key <myprefix.txt> deleted
	   Key <myprefix/test.txt> deleted

REPORTING BUGS
       Report bugs to email <daniel@yunify.com>.

COPYRIGHT
       Copyright (C) 2016 Yunify Inc.

0.1				 May 03, 2016			   QingStor(1)
