cpΒΆ

cp(1)							BIG-IP TMSH Manual						     cp(1)

NAME
       cp command - Creates a copy of a TMOS(tm) configuration object.

MODULE
       All tmsh modules.

SYNTAX
       Use the command cp within a tmsh module to create a copy of the component that resides in that module. To create a copy
       component that resides in another module, use the full path to the component.

	cp [component] [source] [destination]
	cp / [module...module] [component] [source] [destination]

DESCRIPTION
       You must provide a unique name for each component destination of the copy operation.

EXAMPLES
       cp template mytemplate newtemplate

       From within the sys application module, creates a new Application Template named newtemplate with the same properties as
       mytemplate .

       cp / cli script my_script1 my_script2

       From within the sys application module, copies the my_script1 script to my_script2 within the cli module.

OPTIONS
       component
	    Specifies the type of the component that you want to copy.

       module
	    Specifies the module within which the component that you want to copy resides.

       source
	    Specifies the component to be copied.

       destination
	    Specifies a unique name for the component that will be created as part of the copy.

SEE ALSO
       tmsh

COPYRIGHT
       No part of this program may be reproduced or transmitted in any form or by any means, electronic or mechanical, including
       photocopying, recording, or information storage and retrieval systems, for any purpose other than the purchaser's personal
       use, without the express written permission of F5 Networks, Inc.

       F5 Networks and BIG-IP (c) Copyright 2008-2010. All rights reserved.

BIG-IP							    2010-12-06							     cp(1)