🌍
English
This shows you the differences between two versions of the page.
user_documentation:tools:piwigo_import_tree [2012/06/15 20:15] tadjio Insert –parent_album_id=NN into code example |
user_documentation:tools:piwigo_import_tree [2013/03/07 14:17] (current) plg Page moved from user_documentation:piwigo_import_tree to user_documentation:tools:piwigo_import_tree |
||
---|---|---|---|
Line 8: | Line 8: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | The script is run using Perl. If this is not available, it can be downloaded and installed from [[www.perl.org]] – both ActiveState Perl and Strawberry Perl have been tested with Windows7. | + | The script is run using Perl. If this is not available, it can be downloaded and installed from [[user_documentation:www.perl.org]] – both ActiveState Perl and Strawberry Perl have been tested with Windows 7. |
===== Usage ===== | ===== Usage ===== | ||
Line 16: | Line 16: | ||
<code bash>perl piwigo_import_tree.pl | <code bash>perl piwigo_import_tree.pl | ||
--base_url=http://address/of/your/piwigo | --base_url=http://address/of/your/piwigo | ||
- | --user=john | + | --user=admin_username |
- | --password=secret | + | --password=?? |
--directory="my photos directory" | --directory="my photos directory" | ||
- | -–parent_album_id=NN</code> | + | [--parent_album_id=NN]</code> |
Where: | Where: | ||
- | * --user=john is an administrator on your gallery. | + | * --user=admin_username is an administrator on your gallery. |
* --directory="my photos directory" is the full or relative Path Name to the top of the Album Tree. (If the top directory contains spaces, surround it in double quotes) | * --directory="my photos directory" is the full or relative Path Name to the top of the Album Tree. (If the top directory contains spaces, surround it in double quotes) | ||
* --parent_album_id=NN is the internal Piwigo Album ID of the parent album. This parameter is optional : if there is no parent album for the albums being loaded, omit this parameter. | * --parent_album_id=NN is the internal Piwigo Album ID of the parent album. This parameter is optional : if there is no parent album for the albums being loaded, omit this parameter. |