Skip to content

Commit 4f54e2c

Browse files
authored
sync-to-drive: include files properly
1 parent 4f87fd0 commit 4f54e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/js/sync-to-drive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ class SyncToDrive {
113113
const command = [
114114
'rsync',
115115
'-a',
116-
'-b',
117116
'--delete-before',
117+
'-b',
118118
'--backup-dir=' + path.join(device.mountpoint, 'deleted'),
119119
'--ignore-existing',
120-
'--include=\'*.{jpg,chk,gif,mp4}\'',
120+
'--include=\'*.\'{jpg,chk,gif,mp4}',
121121
'--include=\'*/\'',
122122
'--exclude=\'*\'',
123123
'--prune-empty-dirs',

0 commit comments

Comments
 (0)