Skip to content

Commit c5aec2d

Browse files
[install][handtools] migrate to samsung a55
1 parent de4d0f7 commit c5aec2d

File tree

2 files changed

+5
-24
lines changed

2 files changed

+5
-24
lines changed

.workflow.csv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ pacman,extra,zathura-pdf-mupdf
9999
pip,essential,python-qbittorrent
100100
pkg,essential,bat
101101
pkg,essential,clang
102-
pkg,essential,exa
103-
pkg,essential,ffmpeg
102+
pkg,essential,eza
104103
pkg,essential,fzf
105104
pkg,essential,git
106105
pkg,essential,htop

powertools/termux/handtools/sync_kiwi.tool

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ if ping -c 1 kiwi &>/dev/null; then
1313
notification_title="Syncing kiwi"
1414
fi
1515

16-
rsync_flags=( --progress --recursive --perms --times --owner --group --devices --specials --copy-links --verbose)
17-
18-
folders=(
19-
dcim/Camera
20-
dcim/MyAlbums
21-
pictures/Messenger
22-
)
23-
2416
update_notification(){
2517
[[ "$1" ]] && notification_content+=("$1")
2618

@@ -37,25 +29,15 @@ update_notification(){
3729

3830
update_notification "..."
3931

40-
notification_content=()
41-
for folder in "${folders[@]}"; do
42-
if [ -d ~/storage/"$folder" ]; then
43-
update_notification "$folder"
44-
rsync "${rsync_flags[@]}" --relative ~/storage/./"$folder" "$remote":backup/phone_jff/
45-
else
46-
update_notification "File not found: $folder"
47-
fi
48-
49-
done
50-
51-
rsync_delete_flags=( --exclude '.config' --progress -av --delete )
32+
rsync_delete_flags=( --exclude '.config' --progress -aO --delete)
5233

5334
update_notification "media/music"
54-
rsync "${rsync_delete_flags[@]}" "$remote":.local/share/music/ ~/storage/music
35+
rsync "${rsync_delete_flags[@]}" "$remote":.local/share/music/ ~/storage/music/
5536
termux-media-scan ~/storage/music
5637

5738
update_notification "wallpapers"
58-
rsync "${rsync_delete_flags[@]}" "$remote":.local/share/wallpapers ~/.local/share
39+
rsync "${rsync_delete_flags[@]}" "$remote":.local/share/wallpapers/ ~/storage/dcim/wallpapers/
40+
termux-media-scan ~/storage/dcim/wallpapers
5941

6042
notification_title+=" Done"
6143
update_notification

0 commit comments

Comments
 (0)