Use the following command to copy the file textfile to datafile in the current directory:
maccp textfile datafile |
Use the following command to copy the directory textfiles in the home directory to datafiles in the /home/macapps directory:
maccp ~/textfiles /home/macapps/datafiles |
Use the following command to copy the file textfile in the current directory and the contents of the directory datafiles in your home directory to the /usr/mac directory, and to prompt for confirmation of overwrites and preserve file modification time stamps and permission modes:
maccp -ip textfile ~/datafiles /usr/mac |