Copying Files to a Specific Directory

From GEAR Software Knowledgebase

Revision as of 14:15, 16 May 2006 by Jcopp (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To copy all files and subdirectories to a specific directory in your image, enter:


cp -r /data1 DATA1

In the example above, GEAR would create a directory called DATA1 in your image, then copy the contents of the directory /data1 to the DATA1 directory in your image.

Personal tools
wiki navigation