+\begin_layout Standard
+Copiers can be used to do almost anything with output files.
+ For example, suppose you want generated pdf files to be copied to a special
+ directory,
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+/home/you/pdf/
+\end_layout
+
+\end_inset
+
+.
+ Then you could write a shell script such as this one:
+\end_layout
+
+\begin_layout Standard
+\begin_inset listings
+inline false
+status open
+
+\begin_layout Standard
+
+#!/bin/bash
+\end_layout
+
+\begin_layout Standard
+
+FROMFILE=$1
+\end_layout
+
+\begin_layout Standard
+
+TOFILE=`basename $2`
+\end_layout
+
+\begin_layout Standard
+
+cp $FROMFILE /home/you/pdf/$TOFILE
+\end_layout
+
+\end_inset
+
+Save that in your local LyX directory---say,
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+/home/you/.lyx/scripts/pdfcopier.sh
+\end_layout
+
+\end_inset
+
+---and make it executable, if you need to do so on your platform.
+ Then, in the
+\family sans
+Tools\SpecialChar \menuseparator
+Preferences:Copiers
+\family default
+ dialog, select the
+\family sans
+PDF(pdflatex)
+\family default
+ format---or one of the other pdf formats---and enter
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+pdfcopier.sh $$i $$o
+\end_layout
+
+\end_inset
+
+ into the
+\family sans
+Copier
+\family default
+ field.
+
+\end_layout
+