diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-08-11 16:14:33 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-08-11 16:14:33 +0200 |
commit | 8a4075af02243e08d6574177fae5bc4b9615f786 (patch) | |
tree | df6b872af8c99513c8c80de45a6ccf4463ab6475 | |
parent | 5195c23a401b025f6c3cd4fa743676d0f2bbee8e (diff) | |
download | bin-8a4075af02243e08d6574177fae5bc4b9615f786.tar.gz bin-8a4075af02243e08d6574177fae5bc4b9615f786.tar.xz |
mass update
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | add-torrent | 2 | ||||
-rw-r--r-- | init_new_user.sh | 2 | ||||
-rwxr-xr-x | ssh-mount.sh | 45 | ||||
-rwxr-xr-x | ssh-unmount.sh | 12 | ||||
-rwxr-xr-x | thunar | 4 |
5 files changed, 2 insertions, 63 deletions
diff --git a/add-torrent b/add-torrent index a0c63b0..499f1e9 100755 --- a/add-torrent +++ b/add-torrent @@ -1,2 +1,2 @@ #!/bin/bash -transmission-remote mistral:9091 -N -a "$1" +transmission-remote mistral:9091 -a "$1" diff --git a/init_new_user.sh b/init_new_user.sh index fa5738b..2cdd038 100644 --- a/init_new_user.sh +++ b/init_new_user.sh @@ -11,7 +11,7 @@ cd git git clone git://git.server-speed.net/~flo/git/dotfiles.git cd $HOME -for i in .zshrc .vimrc .screenrc .screenrc-2 .zprofile .htoprc .dircolors .vim; do +for i in .zshrc .vimrc .screenrc .screenrc-2 .zprofile .htoprc .dircolors .vim .gitconfig; do ln -sf git/dotfiles/$i $i done diff --git a/ssh-mount.sh b/ssh-mount.sh deleted file mode 100755 index 5d05d1a..0000000 --- a/ssh-mount.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -#---------------------------------------------------- -# Version: 0.1.0 -# Author: Florian "Bluewind" Pritz <flo@xssn.at> -# -# Licensed under WTFPL v2 -# (see COPYING for full license text) -# -#---------------------------------------------------- -# Easier mount remote folders over ssh -#---------------------------------------------------- -if [ "$1" = "" ] || [ "$1" = "-h" ]; then - echo -e "${blue}Usage:$NC ssh-mount <server>"; - echo -e "${green}Servers:$NC wf, nevera-web, nevera-flo, df"; - exit 1 -else - case $1 in - nevera-flo) - DIR="/mnt/nevera/flo" - mkdir -p "${DIR}" - sshfs flo@nevera: -o reconnect -p 22222 "${DIR}" && - echo -e "${GREEN}Nevera: /home/flo mounted.$NC" - ;; - nevera-web) - DIR="/mnt/nevera/web" - mkdir -p "${DIR}" - sshfs web0@nevera: -o reconnect -p 22222 "${DIR}" && - echo -e "${GREEN}Nevera: web mounted.$NC" - ;; - df) - DIR="/mnt/df_ssh" - mkdir -p "${DIR}" - sshfs 105012-ftp@seitznet2.at: -p 22 "${DIR}" && - echo -e "${GREEN}DF mounted.$NC" - ;; - wf) - DIR="/mnt/wf_ssh" - mkdir -p "${DIR}" - sshfs stem47@stem47.loomes.net: -o reconnect -p 22 "${DIR}" && - echo -e "${GREEN}WF mounted.$NC" - ;; - *) echo -e "${RED}Error:$NC Unknown Server" ;; - esac - -fi diff --git a/ssh-unmount.sh b/ssh-unmount.sh deleted file mode 100755 index 441b6ef..0000000 --- a/ssh-unmount.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -fusermount -uq /mnt/nevera/web -rmdir /mnt/nevera/web &> /dev/null -fusermount -uq /mnt/nevera/flo -rmdir /mnt/nevera/flo &> /dev/null -fusermount -uq /mnt/df_ssh -rmdir /mnt/df_ssh &> /dev/null -fusermount -uq /mnt/wf_ssh -rmdir /mnt/wf_ssh &> /dev/null - -echo -e "${GREEN}Unmounted."; @@ -1,4 +0,0 @@ -#!/bin/sh -dbus-send --session --dest=org.xfce.Thunar /org/xfce/Thunar org.xfce.Thunar "string:" "string:" &>/dev/null -sleep 0.1 -/usr/bin/thunar "$@" |