tChange rsync_backup.sh flags. Add lmgtfy. - scripts - random scripts HTML git clone git://parazyd.org/scripts.git DIR Log DIR Files DIR Refs --- DIR commit 56533815bbba1db6a0a1a9bac8e48e0c0df92547 DIR parent 4f7c09f479b3360a3459d14529543c60b6005aa3 HTML Author: parazyd <parazyd@dyne.org> Date: Wed, 21 Feb 2018 12:27:29 +0100 Change rsync_backup.sh flags. Add lmgtfy. Diffstat: A lmgtfy | 6 ++++++ M rsync_backup.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) --- DIR diff --git a/lmgtfy b/lmgtfy t@@ -0,0 +1,6 @@ +#!/bin/sh + +append="$(echo "$@" | tr ' ' '+')" +url="https://www.google.com/search?q=$append" +echo "$url" | xclip -i +xdotool click 2 DIR diff --git a/rsync_backup.sh b/rsync_backup.sh t@@ -1,3 +1,3 @@ #!/bin/sh -rsync -aAXv --verbose --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt/gentoo_rsync_backup +rsync -HPavz --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt/gentoo_rsync_backup