next up previous contents
Next: Copy files to another Up: OS filesystem commands Previous: Remove an existing directory

Copy an existing file to another location

 
shellcp Copy an existing file to another location
-file <file> name of the file
[-srcpath <sourcepath>] source path (default path is './')
[-destpath <destpath>] destination path (default path is './')

This command allows user to copy an existing file to another location in the filesystem. NOTE: Source path and destination path cannot be the same directory, and one of them (or both) has to be specified.


next up previous contents
Next: Copy files to another Up: OS filesystem commands Previous: Remove an existing directory

Anssi Lensu
Tue Jul 23 11:58:18 EET DST 2002