Commit 7a9455d
committed
fix: Prevent duplicate attachment downloads
Fixes bug where attachments were downloaded multiple times with
incremented filenames (file.mov, file_1.mov, file_2.mov) when
running backups without --skip-existing flag.
I should not have used the --skip-existing flag for attachments,
it did not do what I thought it did.
The correct approach is to always use the manifest to guide what
has already been downloaded and what now needs to be done.1 parent 7b78f06 commit 7a9455d
1 file changed
+2
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | 922 | | |
929 | 923 | | |
930 | 924 | | |
| |||
1337 | 1331 | | |
1338 | 1332 | | |
1339 | 1333 | | |
1340 | | - | |
| 1334 | + | |
1341 | 1335 | | |
1342 | 1336 | | |
1343 | | - | |
| 1337 | + | |
1344 | 1338 | | |
1345 | 1339 | | |
1346 | 1340 | | |
| |||
1395 | 1389 | | |
1396 | 1390 | | |
1397 | 1391 | | |
1398 | | - | |
1399 | | - | |
1400 | | - | |
1401 | 1392 | | |
1402 | 1393 | | |
1403 | 1394 | | |
| |||
0 commit comments