walkerdba
asked on
copy not taking place
I have backup in /home/oracle/Desktop/backu p location
my current directory is /u01/app/oracle/oradate/or cl how will I copy the contents of backup folder to the current directory ie the above one..
shows error like this
[oracle@term1 orcl]$ cp /home/oracle/Desktop/backu p/
cp: missing destination file operand after `/home/oracle/Desktop/back up/'
Try `cp --help' for more information.
[oracle@term1 orcl]$ cp home/oracle/Desktop/backup /
cp: missing destination file operand after `home/oracle/Desktop/backu p/'
Try `cp --help' for more information.
[oracle@term1 orcl]$
my current directory is /u01/app/oracle/oradate/or
shows error like this
[oracle@term1 orcl]$ cp /home/oracle/Desktop/backu
cp: missing destination file operand after `/home/oracle/Desktop/back
Try `cp --help' for more information.
[oracle@term1 orcl]$ cp home/oracle/Desktop/backup
cp: missing destination file operand after `home/oracle/Desktop/backu
Try `cp --help' for more information.
[oracle@term1 orcl]$
As noted in the link above, cp takes two parameters: cp FROM TO.
Check out the man page:
http://linux.die.net/man/1/cp
At a minimum you need:
cp /home/oracle/Desktop/backu p/* /u01/app/oracle/oradate/or cl
I figure you will also want recursive:
cp -r /home/oracle/Desktop/backu p/* /u01/app/oracle/oradate/or cl
Check out the man page:
http://linux.die.net/man/1/cp
At a minimum you need:
cp /home/oracle/Desktop/backu
I figure you will also want recursive:
cp -r /home/oracle/Desktop/backu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes
Please refer this link for more information:
http://www.tuxfiles.org/linuxhelp/fileman.html