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/sh | |
usage() { | |
local script=$(echo "`basename $0`") | |
cat <<EOF | |
$script: Selectively restore files / folders. | |
Usage: $script [OPTIONS] -- [file / dir names to exclude] | |
[ -s | --source ] : source directory |
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/sh | |
############################################## | |
data_paths=/srv/dockerdata/debuild:/build # | |
data_name=debdata # | |
data_image=user/debdata # | |
bridge=br0 # | |
ipfile=/etc/default/docker_ips # | |
############################################## |
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 | |
# | |
# chmodr.sh | |
# | |
# Original Author: Francis Byrne | |
# date: 2011/02/12 | |
# | |
# Modified Script for recursively setting permissions & ownership for directories | |
# and files to defined or default permissions using chmod & chown. | |
# |