Solved

we cannot copy this

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
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.

831 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