Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to copy files with SQLPLUS
spool booga.log
does this start logging? i thought spool had to do with printing.
-- Feel free to email me followup posts N e w s N e t C u s t o m e r E - m a i l : sted.alana_at_hotmail.com "RSH" <RSH_Oracle_at_worldnet.att.net> wrote in message news:m3Ux8.45032$Rw2.3523490_at_bgtnsc05-news.ops.worldnet.att.net...Received on Thu Apr 25 2002 - 09:24:36 CDT
> This begs the question of why one would be bothering to invoke SQL*PLUS
for
> O/S file copy operations; I am presuming this is because it might be
> something like copying old log files to somewhere else so they're not
> overwritten, etc?
>
> Which is quite a good idea that a lot of people forget; or even just a
> brutal
>
> spool off
> !rm booga.log
> spool booga.log
>
> to avoid the nightmare of neverending spool files.
>
> RSH.
>
> "Knut Talman" <knut.talman_at_mytoys.de> wrote in message
> news:3CC807AC.6080109_at_mytoys.de...
> > Epicentre Team A ANNECY wrote:
> >
> > > I want to include the copy command in a sql script !
> >
> >
> >
> > SQL> !cp ...
> >
> > or
> >
> > SQL> host cp ...
> >
> > or (Windoze)
> >
> > SQL> $copy ...
> >
> >
> > Regards,
> >
> > Knut
> >
>
>