WIKI-TOOLKIT-RENAME-NODE(1p) User Contributed Perl Documentation WIKI-TOOLKIT-RENAME-NODE(1p)NAME
wiki-toolkit-rename-node - Rename a node stored in a Wiki::Toolkit instance.
SYNOPSIS
# Rename a node in a Wiki::Toolkit instance, updating internal links
# and references if the formatter supports link re-writing.
wiki-toolkit-rename-node --type postgres
--name mywiki
--user wiki
--pass wiki
--host 'db.example.com'
--port 1234
--oldname MyOldNodeName
--nemname FancyNewNodeName
DESCRIPTION
Takes four mandatory arguments:
type
The database type. Should be one of 'postgres', 'mysql' and 'sqlite'.
name
The database name.
oldname
The name of the node to be renamed.
newname
The new name for the node.
four optional arguments:
user
The user that connects to the database. It must have permission to create and drop tables in the database.
pass
The user's database password.
host
The hostname of the machine the database server is running on (omit for local databases).
port
The port number that the database server is expecting connections to.
AUTHOR
Nick Burch
COPYRIGHT
Copyright (C) 2006 Nick Burch. All Rights Reserved.
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Wiki::Toolkit
perl v5.14.2 2011-09-25 WIKI-TOOLKIT-RENAME-NODE(1p)
Check Out this Related Man Page
WIKI-TOOLKIT-SETUPDB(1p) User Contributed Perl Documentation WIKI-TOOLKIT-SETUPDB(1p)NAME
wiki-toolkit-setupdb - Set up a database storage backend for Wiki::Toolkit.
SYNOPSIS
# Set up or update the storage backend, leaving any existing data
# intact. Useful for upgrading from old versions of Wiki::Toolkit to
# newer ones with more backend features.
wiki-toolkit-setupdb --type postgres
--name mywiki
--user wiki
--pass wiki
--host 'db.example.com'
# Clear out any existing data and set up a fresh backend from scratch.
wiki-toolkit-setupdb --type postgres
--name mywiki
--user wiki
--pass wiki
--force-preclear
DESCRIPTION
Takes three mandatory arguments:
type
The database type. Should be one of 'postgres', 'mysql' and 'sqlite'.
name
The database name.
user
The user that connects to the database. It must have permission to create and drop tables in the database.
two optional arguments:
pass
The user's database password.
host
The hostname of the machine the database server is running on (omit for local databases).
and one optional flag:
force-preclear
By default, this script will leave any existing data alone. To force that to be cleared out first, pass the "--force-preclear" flag.
AUTHOR
Kake Pugh (kake@earth.li).
COPYRIGHT
Copyright (C) 2002-2003 Kake Pugh. All Rights Reserved.
Copyright (C) 2006 the Wiki::Toolkit team. All Rights Reserved.
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Wiki::Toolkit
perl v5.14.2 2011-09-25 WIKI-TOOLKIT-SETUPDB(1p)
What is the best way to rename a remote file using wildcard characters? I saw the FTP RENAME command, but it does not like wildcard charcters. (1 Reply)
Hi everybody,
We have a cgi application which accesses sqlite database. It works fine in Linux environment but the same code doesn't enter data into the database when done in HP-UX environment. Should the codes vary depending on whether it is Linux or HP-UX.
Regards
Ruma (1 Reply)
Hi all, i need u r help please is it possible to rename the database it is possible, if possible please let me know the way of changing.
Thank you,
Ramana (1 Reply)
I have heard about companies setting up wiki sites to allow for user grops to workshare information via the web. When I said something about this to someone, was told it was a lot of work to setup. Anyone care to comment on what is truly needed? The materials needed, effort required, whether it... (4 Replies)
So, I am so new that I can't even call myself a unix user. I have an aptitude for programing, but I don't know the language. Anyway, here is my problem:
I have to rename a batch of files that look like:
2001_0001.asc
2001_0002.asc
.
.
.
2006_0548.asc
The names are a date code, but... (1 Reply)
Hello, I've a list of file like this
img_001
img_22
img_44
and I would rename all with this form
photo_0001
photo_0002
photo_0003
photo_0004
suggestions?Thanks to all. (2 Replies)
Hi all,
I recently changed the name of my hostname from 'abc123' to 'abc456' (as an example).
I then added a user in my mysql database with the new host and removed references to the old users and hostname.
The strange thing is though, a process using the database still uses the old... (1 Reply)
I have a variable embedded in a path, and when I print the path, the variable name gets printed out, and not the actual value. Here is an example.
NODE='database1'
j='/home/log/$NODE/alert$NODE.log'
echo $j
Result that I got : /home/log/$NODE/alert$NODE.log
Result that I... (8 Replies)
Please i am trying to create an intranet wiki in my work place but i have no idea what to do, please if you can guide me on how to go about it i will really appreciate it.
thanks (1 Reply)
Hi All,
I have to perform some tasks for database maintainace. I am using postgresql on RHEL 4.4.
1) I have to run "vacuumedb" on the database as postgres user.
2) I have to reindex the database as postgres user.
Now i want to write shell script to do these tasks one... (3 Replies)
Hi all,
I am newbie and Im trying to rename a set of files & there are over 2900 of them. So, the best way I thought was through a script and here is what I got & it doesnt work.
Im not sure as how to figure this out.
Thanks
Gonzalez
Here is what I have -
-a:~/Users/GonzaPue/ls -altr... (3 Replies)
hi all,
a have problem to load *.txt to postgres
my database:
id_list_ip (nextval)
list_ip (varchar)
txt file (list_ip.txt)
hasilping_10.8.248.1
hasilping_119.110.112.226
hasilping_119.110.125.33
hasilping_125.22.1.25
hasilping_192.168.2.1
hasilping_202.73.96.70
script... (3 Replies)
Discussion started by: adi0926
3 Replies
14. Post Here to Contact Site Administrators and Moderators
Considering one collects 500k bits and uses the Request User Name Change (One Time).
Will the name change be renamed in all posts or the former name remains after the rename :D
Best regards
Peasant. (1 Reply)
I have a java process running on serverA on port 9200
It connects & communicates with the database on serverB port 4222.
Earlier I had not enabled encryption between them but now I have specified the java process on serverA to encryption communication by specifying the following on the java... (1 Reply)