|
|
|
@ -130,4 +130,12 @@ if [[ $PERMFILESIZE == $ORIGFILESIZE ]]; then
|
|
|
|
|
rm "$LINKPATH"
|
|
|
|
|
ln -s "$PERMPATH" "$LINKPATH"
|
|
|
|
|
fi
|
|
|
|
|
```
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
A quick way to test scripts is to create a testing environment using 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.
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
This way you can manual import this movie and trigger the script. You can just run it again to repopulate the files.
|
|
|
|
|