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 "Input: $1" | |
size=$(du -k "$1" | cut -f 1) | |
size=$(($size/1024)) | |
echo "Output: $2" | |
echo "Size: $size MB" | |
dd if="$1" | pv --size="$size"M | dd of="$2" |
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 "Getting Root Access" | |
sudo -i | |
echo "Install Dependencies" | |
apt-get install python python-gtk2 python-gnome2 python-gtkspell python-gtksourceview2 python-feedparser python-gdata python-webkit -y | |
echo "Download Tarball" | |
wget https://launchpad.net/blogtk/2.0/2.0/+download/blogtk-2.0.tar.gz ~/blogtk.tar.gz | |
tar xvfz ~/blogtk.tar.gz ~/blogtk | |
cd ~/blogtk | |
make |
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 | |
# General Settings | |
REPONAME='example.git' | |
BRANCH='public' # Branch you want to be public | |
MODE='FTP' # 'FTP' = Upload to FTP Server / 'DIRECTORY' = Copy to Directory. | |
# DIRECTORY MODE SECTION | |
DIRECTORY='/var/www/' | |
EXCLUDELIST_DIR='' # Do '--exclude=Folder1 --exlude=Folder2' |
NewerOlder