This doesn't answer your 'My Solution' question, but I do something similar on a development machine. I use subversion to checkout from my code repository into /home/me/svn/site and create a symbolic link for apache to this location:
I know it doesn't answer your real question, but maybe this solution is easier. *shrug*
Currently our Apache log files are huge, I want to put say a month's time limit on this, then when it hits the end of the month I would like it to start over writing.
Does anyone know where the config file is for this and what its called? I also want to do exactly the same on wtmp config (who... (1 Reply)
Hi, I need a script that will:
1. Go through about 20 different folders, each containing about 20 1d files. The 1d files go something like this:
22.253 37.707 78.117 112.374 127.944 156.067 180.956 233.785 249.256 ... (1 Reply)
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Hello dear users, here I have a script to manipulate .csv files that are like this originally:
And I need to make a script to delete certain fields. Each field is separated with a comma.
So, here is my script (at least a part of it):
Field $1 is composed of a name, and then a... (5 Replies)
Hi folks,
I am trying to configure Apache webserver and also a virtual host inside this webserver.
For Global server config: /var/www/html/index.html
For virtual host config: /var/www/virtual/index.html
Both client10 & www10 are pointing to 192.168.122.10 IP address.
BUT, MY... (1 Reply)
Our Apache log files are written to a location on the server that we as clients have no access. Don't ask.
Every month, I have to e-mail the administrator to have him manually copy our Apache log files to a directory in our file space. You can probably guess how efficient it is to do things this... (3 Replies)
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
I am trying to automate editing of a json file using bash script.
The file I initially receive is
{
"appMap": {
"URL1": {
"name": "a"
},
"URL2": {
"name": "b"
},
"URL3": {
"name": "c"
},
}
WHat I would like to do is replace... (5 Replies)
I just want to make sure I am understanding how to pass a config file to a bash script . In the below I pass to arguments to a script, then define them in the script as id and config. I then source config using ., if I understand correctly the variables in the config file can now be used by the... (11 Replies)
Discussion started by: cmccabe
11 Replies
LEARN ABOUT DEBIAN
svn-inject
SVN-INJECT(1) Command reference SVN-INJECT(1)NAME
svn-inject - puts a Debian source package into Subversion repository
SYNOPSIS
svn-inject [options]
package.dsc
repository_URL
OPTIONS
svn-inject accepts the following options on the command-line:
-h
print the help menu
-v
Make the command output verbose
Default: Off.
-q
Hide less important messages
Default: Off.
-l
Layout type. 1 (default) means package/{trunk,tags,branches,...} scheme, 2 means the {trunk,tags,branches,...}/package scheme.
Default: 1
-t directory
Specify the directory where the .orig.tar.gz files are stored on the local machine.
Default: Off.
-d | --do-like=directory
Looks at the working directory of some other package and uses its base URL, tarball storage directory and similar checkout target
directory.
Default: Off.
-c number
Checkout nothing (0), trunk directory (1) or everything (2) when the work is done.
Default: 1
-o
Only keep modified files under SVN control (including the debian/ directory), track only parts of upstream branch
Default: Off.
-O | --no-branches
Do not create the branches subdirectory at all. This works in a similar way to -o but all changes on upstream files (e.g. meta changes
like updating the config.guess and config.sub files) are ignored and the upstream branch is not used.
Default: use branches/.
-s
By default, svn-inject used to create .svn/deb-layout after an inject operation if a checkout followed the inject. Since version 0.6.22
this behaviour is deprecated.
With this parameter svn-inject will replicate the old behaviour.
This option was provided since it can be useful when creating a local override file.
Default: Off.
-setprops -set-props
Set svn-bp:* props on the debian directory automatically.
Default: Off.
SEE ALSO
/usr/share/doc/svn-buildpackage/()
The svn-buildpackage HOWTO manual
svn-upgrade(1)
upgrade source package from a new upstream revision.
svn(1)
Subversion command line client tool
dpkg-buildpackage(1)
Debian source package tools
AUTHORS
Eduard Bloch
This manual page was written by Eduard Bloch in roff.
Goneri Le Bouder
Converted manpages to SGML.
Neil Williams
Converted manpages to DocBook XML and current Debian maintainer
COPYRIGHT
Copyright (C) 2009 Eduard Bloch
Release: 0.8.2 May 2009 SVN-INJECT(1)