You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by micael <ca...@harbornet.com> on 2002/09/09 00:37:06 UTC
[linux CP COMMAND options]
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [linux CP COMMAND options]
Posted by Bojan Smojver <bo...@rexursive.com>.
On Tue, 2002-09-10 at 03:56, micael wrote:
> I will investigate this and do thank you.
You are welcome.
Bojan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [linux CP COMMAND options]
Posted by micael <ca...@harbornet.com>.
Because of the "samba" in the tool you recommended, I made some faulty
assumptions. Sorry. I will investigate this and do thank you.
At 04:18 PM 9/9/2002 +1000, you wrote:
>Quoting micael <ca...@harbornet.com>:
>
> > I want to move
> > particular files out of a group, so the sort of graphic tool you are
> > talking about is useless to me.
>
>Which one was the graphic tool? Not following...
>
>Bojan
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [linux CP COMMAND options]
Posted by Bojan Smojver <bo...@rexursive.com>.
Quoting micael <ca...@harbornet.com>:
> I want to move
> particular files out of a group, so the sort of graphic tool you are
> talking about is useless to me.
Which one was the graphic tool? Not following...
Bojan
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [linux CP COMMAND options]
Posted by micael <ca...@harbornet.com>.
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 <ca...@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: <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > >
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe,
> e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
>
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [linux CP COMMAND options]
Posted by Bojan Smojver <bo...@rexursive.com>.
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 <ca...@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: <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> >For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [linux CP COMMAND options]
Posted by micael <ca...@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: <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [linux CP COMMAND options]
Posted by Bojan Smojver <bo...@rexursive.com>.
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: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>