summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz')
-rwxr-xr-xhome/xyz/.local/bin/upd12
1 files changed, 1 insertions, 11 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 277799f2..daeab621 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -4,7 +4,6 @@ all () {
fast
userjs
clean
- usb
}
clean () {
@@ -70,19 +69,11 @@ checkrebuild: $(checkrebuild)
"
}
-usb () {
- cfg -s push
-
- #rsync -navPR --delete ~/archive ~/documents ~/downloads ~/music ~/pictures ~/programs ~/test ~/videos ~/.local/share/stardict/dic ~/.local/share/qBittorrent ~/.local/share/sdcv_history ~/.cache/nsxiv ~/.config/qBittorrent ~/.bitmonero/wallets ~/.password-store /run/media/xyz/bd0
- # --files-from make -a not imply -r, so need to specify explicitly
- #rsync -avPRr --delete --files-from="$XDG_CONFIG_HOME/myconf/upd_rsync_files" / /run/media/xyz/bd0/pp
-}
-
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
if [ $# -eq 0 ]; then
fast
else
- while getopts acfjmpu opt; do
+ while getopts acfjmp opt; do
case $opt in
a)all;;
c)clean;;
@@ -90,7 +81,6 @@ else
j)userjs;;
m)misc;;
p)pac;;
- u)usb;;
\?)exit 1;;
esac
done