?
Solved

we cannot copy this

Posted on 2013-06-12
3
Medium Priority
?
415 Views
Last Modified: 2013-06-14
[oracle@mac ~]$ scp /u01/app/oracle/oradata/dat oracle@term2:/home/oracle/Desktop/
oracle@term2's password:
/u01/app/oracle/oradata/dat: not a regular file
[oracle@mac ~]$ scp /u01/app/oracle/oradata/dat oracle@term2:/home/oracle/Desktop/
oracle@term2's password:


I have attached the screen shot of the content..
scp.png
0
Comment
Question by:walkerdba
3 Comments
 
LVL 85

Accepted Solution

by:
ozo earned 2000 total points
ID: 39243267
/u01/app/oracle/oradata/dat appears to be a directory, not a file.
If you want to copy all files contained in /u01/app/oracle/oradata/dat  you might try
scp -r /u01/app/oracle/oradata/dat/ oracle@term2:/home/oracle/Desktop/
or
scp /u01/app/oracle/oradata/dat/* oracle@term2:/home/oracle/Desktop/
0
 
LVL 19

Expert Comment

by:jools
ID: 39243780
if you need more help on the options for commands you can use `man <command>` eg/ `man scp` if your not sure what a command is you can use the `k` option which allows you to search the command summaries for keywords eg/ `man -k network`.
0
 

Author Closing Comment

by:walkerdba
ID: 39249616
yes
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy. ┬áThis article also serves as your NTP server documentation.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question