Solved

we cannot copy this

Posted on 2013-06-12
3
411 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 500 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

691 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