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
Solved

we cannot copy this

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ODBC in excel 2016 in Windows 10 via VBA 16 136
Using sort and uniq to pare down large syslog 6 50
add more rows to hierarchy 3 25
Read XML values 8 41
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Via a live example, show how to take different types of Oracle backups using RMAN.

840 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