diff options
| -rwxr-xr-x | scripts/commands/:save-link | 3 | ||||
| -rwxr-xr-x | scripts/music/sync-sdcard.sh | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/scripts/commands/:save-link b/scripts/commands/:save-link new file mode 100755 index 0000000..e697bdf --- /dev/null +++ b/scripts/commands/:save-link @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +exec ~/.config/kak/scripts/logger.sh link "$@" diff --git a/scripts/music/sync-sdcard.sh b/scripts/music/sync-sdcard.sh new file mode 100755 index 0000000..f4093d5 --- /dev/null +++ b/scripts/music/sync-sdcard.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env sh + +set -eu -o pipefail + +dir=$(ls /run/media/imsohexy/ | fzf --prompt="Copy to: ") + +rsync \ + --exclude=.stfolder \ + --exclude=.thumbnails \ + -ahvP \ + --delete \ + --modify-window=2 \ + ~/Downloads/music/ \ + "/run/media/imsohexy/$dir" + +notify-send "Done copying music. Sort it maybe?" |
