Edited wiki page Example_script through web user interface.
This commit is contained in:
parent
2f6b22e4d5
commit
afe7cb074c
@ -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
|
#!/usr/bin/env bash
|
||||||
|
Loading…
Reference in New Issue
Block a user