<HTML ><HEAD ><TITLE >Exploring and Fine Tuning</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="USB Digital Camera HOWTO" HREF="index.html"><LINK REL="PREVIOUS" TITLE="What is Happening while the script is running" HREF="x197.html"><LINK REL="NEXT" TITLE="DON'T PANIC" HREF="x239.html"></HEAD ><BODY CLASS="chapter" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >USB Digital Camera HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x197.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x239.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="chapter" ><H1 ><A NAME="AEN225">Chapter 5. Exploring and Fine Tuning</H1 ><P >OK, you should be set up and ready to do some exploring. Go take some trash pictures with your camera in all the different formats. Mine will take in 4 formats, TIFF, GIF, JPEG, and MPEG, and it also provides a thumbnail of each picture. In my Sony P-50 these will be stored on the memory media in 4 different sub-folders, 100msdcf, imcif100, thm, and moml0001. These are in 2 folders, dcim, and mssony. You need to find how your camera names the directories. You can do this in the following manner:</P ><P ></P ><UL ><LI ><P >Copy the above script file to a working file name.</P ></LI ><LI ><P >With your text editor change line: <TT CLASS="userinput" ><B >mv /mnt/camera/dcim/100msdcf/*.jpg picture/$DIRPATH</B ></TT > to <TT CLASS="userinput" ><B >mv /mnt/camera/* picture/$DIRPATH</B ></TT ></P ></LI ><LI ><P >Run the script from a command line as follows:</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" > [bash]$ ./your_script_file_name </PRE ></FONT ></TD ></TR ></TABLE ><P >(notice the dot and forward slash)</P ></LI ></UL ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x197.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x239.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >What is Happening while the script is running</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >DON'T PANIC</TD ></TR ></TABLE ></DIV ></BODY ></HTML >