All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install this under /lib/systemd/system | |
# systemctl enable data-media.mount | |
# systemctl start data-media.mount | |
[Unit] | |
Description=Google Drive (overlay) | |
After=rclonecrypt.service | |
[Mount] | |
What=overlay | |
Where=/data/media |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /opt/code/ && cd /opt/code | |
git pull https://github.com/dweidenfeld/plexdrive.git | |
GOPATH=/opt/code/plexdrive/ && export GOPATH | |
go get -v | |
docker run --rm -e GOOS=linux -e GOARCH=amd64 -v $PWD:/usr/src/plexdrive/ -v $PWD/src:/go/src/ -w /usr/src/plexdrive/ golang:1.8 go build -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# you will need to download nzbdrone.db & some type of sqlite editor | |
# First We Will Update The Series Table | |
# Replace the slashes | |
UPDATE Series SET path = replace( path, '\', '/' ) WHERE path LIKE '%:\%'; | |
# K: is the windows drive that your files were on (replace this with whatever drive your files are on, will need to repeat for each | |
# windows root folder you have in Sonnar), /home/new/path/in/linux is well the new path in linux | |
UPDATE Series SET path = replace( path, 'K:', '/home/new/path/in/linux' ) WHERE path LIKE 'K:/%'; | |
# Fix slashes in EpisodeFiles table | |
UPDATE EpisodeFiles SET RelativePath = replace( RelativePath, '\', '/' ) WHERE RelativePath LIKE '%\%'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#requires -version 2 | |
<# | |
.SYNOPSIS | |
Installs latest rclone | |
.INPUTS | |
-Location to install. | |
-exeonly If you only want to deal with the exe. | |
-Temp Location to use for temp. | |
-beta To download the latest beta | |
.OUTPUTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-yml() { | |
docker inspect -f $' | |
{{.Name}} | |
image: {{.Config.Image}} | |
entrypoint: {{json .Config.Entrypoint}} | |
environment: {{range .Config.Env}} | |
- {{.}}{{end}} | |
' $1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
{ | |
echo $(date) | |
echo ">>>Disk found" | |
echo ">>>Setting the title..." | |
title=$(makemkvcon -r info) | |
title=`echo "$title" | grep "DRV:0\+"` | |
title=${title:53} |