This file contains hidden or 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 | |
| # easily "docker exec" into a running Docker container | |
| # latest version: https://gist.github.com/ljm42/2b3bfd8ff886015bbce8 | |
| # for unRAID, place this script on your flash drive as /boot/custom/docker-shell | |
| # then add this to your go script (without the leading pound sign): | |
| # cp /boot/custom/docker-shell /usr/local/bin | |
| CONTAINERS=`docker ps | awk 'NR==1 {offset=index($0,"NAMES")};NR>1{print substr($0,offset)}' | sort -f | tr "\n" " "` |
This file contains hidden or 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
| #!/usr/bin/python3 | |
| ####################################################### | |
| # Python rsync Backup script | |
| # Sebastian Kraft, 24.06.2013 | |
| # | |
| ####################################################### | |
| #----------------------------------------------------- | |
| # Config |