0
|
1 <?xml version="1.0" encoding="LATIN1" ?> |
|
2 <!DOCTYPE webpage PUBLIC "-//Norman Walsh//DTD Website V2.2//EN" |
|
3 "http://docbook.sourceforge.net/release/website/2.2/website.dtd" [ |
|
4 <!NOTATION XML SYSTEM "xml"> |
|
5 <!ENTITY usage_desc_cli SYSTEM "usage_desc_cli.xml" NDATA XML> |
|
6 <!ENTITY usage_desc_gui SYSTEM "usage_desc_gui.xml" NDATA XML> |
|
7 <!ENTITY usage_desc_xml SYSTEM "usage_desc_xml.xml" NDATA XML> |
|
8 ]> |
|
9 <!-- $Id: usage_desc_cli.xml,v 1.3 2002/07/29 16:54:50 jerome Exp $ --> |
|
10 <webpage id="usage_desc_cli"> |
|
11 <config param="rcsdate" value="$Date: 2002/07/29 16:54:50 $"/> |
|
12 |
|
13 <head> |
|
14 <title>Command line interface</title> |
|
15 <keywords>SAUTRET, BINS, album, gallery, photos, EXIF</keywords> |
|
16 </head> |
|
17 |
|
18 <para> |
|
19 You can use the <command>bins_edit</command> program to set |
|
20 description fields or one or several images. For example, to add |
|
21 the comment <userinput>my picture</userinput> to |
|
22 <filename>pic.jpg</filename>, go to the images directory (where |
|
23 <filename>pic.jpg</filename> is), and type: |
|
24 </para> |
|
25 |
|
26 <programlisting> |
|
27 bins_edit -d "my picture" pic.jpg |
|
28 </programlisting> |
|
29 |
|
30 <para>The <option>-d</option> option stands for description. You can |
|
31 set other fields, like location or date. Run <command>bins_edit |
|
32 --help</command> to see all fields available and read the |
|
33 <command><ulink url="bins_edit_man.html">bins_edit(1)</ulink></command> |
|
34 man page. The description text can be HTML with the |
|
35 <option>--html</option> switch. You can run |
|
36 <command>bins_edit</command> on several images, for example:</para> |
|
37 |
|
38 <programlisting> |
|
39 $ bins_edit -l "Paris" -y "2001" *.jpg |
|
40 </programlisting> |
|
41 |
|
42 <para>For each album (and sub-albums), you can also set a title, a |
|
43 description and a sample image to be used as a thumbnail to |
|
44 represent the album. To do so, you can use |
|
45 <command>bins_edit</command> with the<option> --album</option> |
|
46 switch. Type <command>bins_edit --help</command> for more |
|
47 details.</para> |
|
48 |
|
49 <para> |
|
50 After setting or changing any fields, you have to rerun |
|
51 <command>bins</command> to generate new HTML pages. |
|
52 </para> |
|
53 |
|
54 </webpage> |