chyroc / icloudgo

Access Apple iCloud via go, go port of pyicloud
Apache License 2.0
95 stars 12 forks source link

is it working with random file name? #3

Closed czwen closed 1 year ago

czwen commented 1 year ago

hi, the project is awesome. but i have some question..

is it working with random file name? after download,file name is ARs0fhovjV2QqSHN3EdBs9bpG6a2.MOV

is it possible files group by date using folder? like 2022/02/22/ARs0fhovjV2QqSHN3EdBs9bpG6a2.MOV

last one , why some 1kb files downloaded? i think it happend on when continuted download.

thansks.

chyroc commented 1 year ago

first issue,

is it possible files group by date using folder?
like 2022/02/22/ARs0fhovjV2QqSHN3EdBs9bpG6a2.MOV

use 0.10.0 version , and add param --fs 2006/01/02

chyroc commented 1 year ago

second issue

why some 1kb files downloaded?
i think it happend on when continuted download.

1kb files is tmp file, now, it moevd to <output>/.tmp dir at version v0.11.0

czwen commented 1 year ago

amazing..my pr is almost ready

czwen commented 1 year ago

1kb(4bytes) file occured again. download.db photo_asset status filed most is 1, but there are 70% 1kb files downloaded

$ find . -type f | wc -l 34391

$ du -sh * 786M 2016 15M 2017 115M 2018 853M 2019 4.8M 2020 761M 2021 75G 2022 15G 2023

image

may the download url expired?

chyroc commented 1 year ago

try 0.12.0