commit 56533815bbba1db6a0a1a9bac8e48e0c0df92547
parent 4f7c09f479b3360a3459d14529543c60b6005aa3
Author: parazyd <parazyd@dyne.org>
Date: Wed, 21 Feb 2018 12:27:29 +0100
Change rsync_backup.sh flags. Add lmgtfy.
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/lmgtfy b/lmgtfy
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+append="$(echo "$@" | tr ' ' '+')"
+url="https://www.google.com/search?q=$append"
+echo "$url" | xclip -i
+xdotool click 2
diff --git a/rsync_backup.sh b/rsync_backup.sh
@@ -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