Solved

we cannot copy this

Posted on 2013-06-12
3
393 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 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now