Use the following command to copy the file report.doc and rename it schedule.doc:
tncp report.doc schedule.doc |
Use the following command to copy the files chapter1.doc and chapter2.doc to the directory manuals:
tncp chapter1.doc chapter2.doc manuals |
Use the following command to copy the directory bookfiles, along with all files and directories under it, to the directory manuals:
tncp -R bookfiles manuals |
Use the following command to copy intro.doc to preface.doc but attempt to unlink preface.doc first, if it exists and has the "write" permission off:
tncp -f intro.doc preface.doc |
Use the following command to copy the file agenda.ppt to the existing file report.ppt and prompt for confirmation before overwriting report.ppt:
tncp -i agenda.ppt report.ppt |
Use the following command to copy the file logo.gif to the file graphic.gif, along with attributes of logo.gif:
tncp -p logo.gif graphic.gif |
Use the following command to copy all files under the directory system, and their associated shadow files, to the directory etc:
tncp -R system etc |