From 07a2dec3c5775309615dbdecb39c121a700aab02 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Sun, 3 Feb 2019 15:55:53 -0800 Subject: [PATCH] Updated Custom Post Processing Scripts (markdown) --- Custom-Post-Processing-Scripts.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Custom-Post-Processing-Scripts.md b/Custom-Post-Processing-Scripts.md index 3f03bd8..49d6de4 100644 --- a/Custom-Post-Processing-Scripts.md +++ b/Custom-Post-Processing-Scripts.md @@ -135,10 +135,16 @@ if [[ $PERMFILESIZE == $ORIGFILESIZE ]]; then fi ``` -A quick way to test scripts is to create a testing environment using Movie Test (2013). +A quick way to test scripts is to create a testing environment using the movie "Test (2013)". ``` -mkdir -p ~/test && cd ~/test && touch "Test (2013).nfo" && touch "Test (2013).por.srt" && touch "Test (2013).por.forced.srt" && touch "Test (2013).eng.srt" && touch "Test (2013).mkv" && cp -R ~/test /path/to/folder/to/import. +mkdir -p ~/test && cd ~/test && touch "Test (2013).nfo" "Test (2013).por.srt" "Test (2013).por.forced.srt" "Test (2013).eng.srt" "Test (2013).mkv" && cp -R ~/test /path/to/folder/to/import ``` -This way you can manual import this movie and trigger the script. You can just run it again to repopulate the files. +or in bash: + +``` +mkdir -p ~/test && cd ~/test && touch "Test (2013)."{nfo,por.srt,por.forced.srt,eng.srt,mkv} && cp -R ~/test /path/to/folder/to/import +``` + +This way you can manually import this movie and trigger the script. You can just run it again to repopulate the files.