Difference between revisions of "rename"
Jump to navigation
Jump to search
m |
m (t.) |
||
Line 11: | Line 11: | ||
* the folders {{c|bases/etc/basename}}, {{c|bases/image/basename}} {{c|bases/src/basename}} containing template files and image data for your base. | * the folders {{c|bases/etc/basename}}, {{c|bases/image/basename}} {{c|bases/src/basename}} containing template files and image data for your base. | ||
− | [[Gwsetup]] offers a | + | [[Gwsetup]] offers a “rename” command which performs the first task ({{c|basename.gwb}} renaming) but not the others! |
=== Restrictions for base names === | === Restrictions for base names === | ||
− | The name of a base cannot be {{c|a2_}} for example, as it contains a forbidden character. Base names can only contain alphanumeric characters (upper and lower case) and the character | + | The name of a base cannot be {{c|a2_}} for example, as it contains a forbidden character. Base names can only contain alphanumeric characters (upper and lower case) and the character “-”. All other characters are forbidden. |
− | [[Category : | + | [[Category:Manual]] |
Revision as of 23:56, 16 April 2016
Language: | English • français |
---|
This page explains how to rename a GeneWeb base through gwsetup or through command lines.
Bases are kept in folders with extension .gwb
. If you change the name of this folder, your base name will be changed.
Several other files and folders have to be renamed in accordance with this new choice:
- the
basename.gwf
configuration file - the
bases/cnt/basename.txt
file maintaining a count of accesses to your base (non essential) - the folders
bases/etc/basename
,bases/image/basename
bases/src/basename
containing template files and image data for your base.
Gwsetup offers a “rename” command which performs the first task (basename.gwb
renaming) but not the others!
Restrictions for base names
The name of a base cannot be a2_
for example, as it contains a forbidden character. Base names can only contain alphanumeric characters (upper and lower case) and the character “-”. All other characters are forbidden.