Re: cp * except .svn directories
- From: Mark Woodward <markonlinux@xxxxxxxxxxxxxxxx>
- Date: Thu, 03 Aug 2006 23:45:29 +1000
Hi Kevin,
On Thu, 03 Aug 2006 01:56:12 +0900, Kevin Ballard wrote:
It's because #exec replaces the current process with the new one. You
need to fork and exec in the child (and in the parent, wait until the
child is done before continuing).
BTW, you might want to look into `svn export`, see if that's usable. The
entire point of that command is to create a copy of the tree without any
of the svn metadata (i.e. no .svn folders).
Thanks,
I was aware of 'export' but wanted to do this as a little ruby experiment.
Finally got what I was after which was to backup localhost as a
timestamped folder (eg www03072230) and the includes folder, then delete
everything and copy over the repos.
If all goes well, which it appears to be, I'll work on copying the local
development over to my live host next.
cheers,
--
Mark
.
- References:
- cp * except .svn directories
- From: Mark Woodward
- Re: cp * except .svn directories
- From: Mark Woodward
- Re: cp * except .svn directories
- From: Kevin Ballard
- cp * except .svn directories
- Prev by Date: Re: Rubyforge svn import
- Next by Date: define_method vs eval "def ..."
- Previous by thread: Re: cp * except .svn directories
- Next by thread: Weird elusive bug using Comparable
- Index(es):
Relevant Pages
|