Skip to content

Instantly share code, notes, and snippets.

View aliva's full-sized avatar
🤖
Hello Humans!

Ali Vakilzade aliva

🤖
Hello Humans!
View GitHub Profile
@aliva
aliva / video.sh
Created October 9, 2013 19:45 — forked from psamim/wget.sh
#!/usr/bin/env bash
[email protected]
YD_DIR="app-root/data"
DIR="video"
if [ "$1" == "install" ]
then
# SSH To Server
ssh $SSH_ACCOUNT 'bash -s'<<<"
wget https://yt-dl.org/downloads/2013.10.07/youtube-dl -O \$OPENSHIFT_HOMEDIR/$YD_DIR/youtube-dl --no-check-certificate