TheLastGimbus / GooglePhotosTakeoutHelper

Script that organizes the Google Takeout archive into one big chronological folder
https://aur.archlinux.org/packages/gpth-bin
Apache License 2.0
3.88k stars 191 forks source link

limited by space in /tmp #179

Closed rebelga closed 1 year ago

rebelga commented 1 year ago

My root partition has /tmp with 100GB free. The work area for gpth is a couple TB, but it fails because the root becomes full (bad in general, of course).

I temporarily symlinked /tmp elsewhere as a work around, but this should be handled more elegantly.

TheLastGimbus commented 1 year ago

Can you show me some more detail about your takeouts etc? What's the largest file in the whole pack

rebelga commented 1 year ago

First a correction - my root was 100GB total, 48GB free. The extracted size of the takeout is 51GB. The largest single file is 1.5GB.

TheLastGimbus commented 1 year ago

So you just don't have free space on disk 🤨🤨 ?

Again, more details - did you use interactive? Show the console output etc

rebelga commented 1 year ago

I had TONS of free space, except in /tmp.

Yes, I used it interactive. (From memory now) it seemed to be extracting the archive to /tmp/ until the /tmp FS was filled. I assume that if I had extracted the parts by hand, the problem would have been avoided. Still, the sw should check for this or at least warn about its /tmp requirements in the docs (e.g. "Warning: use of interactive mode requires your /tmp filesystem to have enough free space to contain the entire extracted takeout archive." -- if that is indeed the case). I no longer have the actual console output.

TheLastGimbus commented 1 year ago

This is another issue with archive package :/

i won't address this myself nor now, but i may just migrate to some rust zip library in future

sorry for inconvinience!

TheLastGimbus commented 1 year ago

Will re-open if i ever bring the archive package back