diff --git a/wiki/Example_script.wiki b/wiki/Example_script.wiki index 4a990aa..b600390 100644 --- a/wiki/Example_script.wiki +++ b/wiki/Example_script.wiki @@ -1,4 +1,14 @@ -#summary script showing usage of PPSS variables +#summary script showing usage of PPSS in combination with wrapper script + +In this example WAV files are converted to MP3 using Lame. The script takes two arguments that are supplied by the PPSS -c option. + +PPSS is run like this: + +{{{ +ppss -d /source/directory/with/wav/files -c './wav2mp3.sh "$ITEM" "$OUTPUT_DIR"' -o /dest/dir/where/mp3/files/must/be/put +}}} + +This is the code. {{{ #!/usr/bin/env bash @@ -21,4 +31,4 @@ MP3FILE="`echo ${BASENAME%wav}mp3`" lame --quiet --preset insane "$SRC" "$DEST/$MP3FILE" exit "$?" -}}} \ No newline at end of file +}}}