From b174f8a68036de2d9319afea339a9099044ba7fd Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Fri, 13 Mar 2009 10:44:48 +0000 Subject: [PATCH] Edited wiki page through web user interface. --- wiki/Manual1.wiki | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wiki/Manual1.wiki b/wiki/Manual1.wiki index 4bd7c5e..187c61e 100644 --- a/wiki/Manual1.wiki +++ b/wiki/Manual1.wiki @@ -137,6 +137,13 @@ In this example, a list of URLs is provided by the file list.txt. These urls are `$ ./ppss.sh standalone -f list-of-urls.txt -c 'wget -q "$ITEM"'` +*Advanced usage of the -c command option * + +Some commands require that you specify an output file. An example of such a command or program is the Lame mp3 encoder. Since the output file must be unique for each item, the output file name must be based on a variable. Like this: + +-c 'lame -a "$ITEM" "/some/path/$ITEM.mp3" --preset standard --quiet' + +The filename of the item is reused to create the output file name. == Advanced command line options ==