plex, add automatic cleanup of the chunk files since this is not their source location.
This commit is contained in:
@@ -384,8 +384,11 @@ function pull-plex {
|
|||||||
final="movie.mkv"
|
final="movie.mkv"
|
||||||
echo "Catting files together to make '$final'."
|
echo "Catting files together to make '$final'."
|
||||||
ls -lh *.chunk*
|
ls -lh *.chunk*
|
||||||
|
|
||||||
cat *.chunk* > $final
|
cat *.chunk* > $final
|
||||||
ls -lh $final
|
ls -lh $final
|
||||||
|
|
||||||
|
rm -v *.chunk*
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user