tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micael <caraun...@harbornet.com>
Subject Re: [linux CP COMMAND options]
Date Mon, 09 Sep 2002 04:34:48 GMT
Thanks again.  I use cp and -fr all the time.  I have a particular thing I 
want to do as described that I don't know how to do.  I want to move 
particular files out of a group, so the sort of graphic tool you are 
talking about is useless to me.  I now use WinSCP, which is okay for that.

At 01:31 PM 9/9/2002 +1000, you wrote:
>I'm not sure I know what a 'Secure CTR' is, so I'll leave that one alone :-)
>
>Yes there is 'cp -fr' on Linux, see 'man cp' for details. Manual pages for
>RedHat Linux are available from here: http://linux.ctyme.com/.
>
>rsync will make sure copying is atomic (i.e. it'll create a temp file, 
>sync into
>it and then move the temp file into the destination file ), cp won't (it'll
>overwrite the target file, starting at the beginning of the file, so if
>something grabs the file while this is being done, there's going to be 
>trouble),
>which makes rsync a better choice for this kind of work, especially if you're
>doing it while Tomcat is running. Also, rsync has sophisticated pattern
>matching, which makes it, well, suitable for (remote) syncing :-)
>
>Bojan
>
>Quoting micael <caraunltd@harbornet.com>:
>
> > Thanks, Bojan, but I use a command line with Secure CTR.  What I need to
> > know is what is the right command with cp on the linux machine.
> >
> > Is there one?  cp -fr ?????
> > /usr/local/java/tomcat/webapps/[app]/WEB-INF/classes/com/wahoo/place/ 
> which
> > will force the .jsp pages to overwrite the ones in place/ is what I need.
> >
> > Micael
> >
> > At 09:45 AM 9/9/2002 +1000, you wrote:
> > >http://rsync.samba.org/
> > >
> > >Bojan
> > >
> > >On Mon, 2002-09-09 at 08:37, micael wrote:
> > > > I need to copy all the files (drilled down in directories recursively)
> > > that
> > > > end in ".jsp" to another location and write over the files in that
> > > > location.  Anyone have the command for a Red Hat 7.2 Linux
> > > environment?  It
> > > > is irrelevant, but connected to this list, that I am running Tomcat 4
> > and
> > > > Struts with JBoss.  Not much knowledge about the admin languages in my
> > > > head.  Any assistance would be appreciated.  Sorry if this is a bit 
> off
> > > topic.
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe,
> > > e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <mailto:tomcat-dev-help@jakarta.apache.org>
> > > >
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> > >For additional commands, e-mail:
> > <mailto:tomcat-dev-help@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, 
> e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> <mailto:tomcat-dev-help@jakarta.apache.org>
> >
> >
>
>
>
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message