Skip to content

Clean up (un)zipped files in cache #28

@erikvansebille

Description

@erikvansebille

When I ran pixi run asv run yesterday, I saw that the both the zip-files and unzipped files are kept in the Cache folder:

erik ~/Library/Caches/parcels-benchmarks % du -h
 12K	./Parcels_Benchmarks_MOi_data.zip.unzip/__MACOSX
 25G	./Parcels_Benchmarks_MOi_data.zip.unzip
 53M	./Parcels_Benchmarks_FESOM-baroclinic-gyre_v2025.10.2.2.zip.unzip/mesh
3.8G	./Parcels_Benchmarks_FESOM-baroclinic-gyre_v2025.10.2.2.zip.unzip
 44G	.
erik ~/Library/Caches/parcels-benchmarks % ls -lh
total 30855176
-rw-------   1 erik  staff   3.0G Dec 15 19:38 Parcels_Benchmarks_FESOM-baroclinic-gyre_v2025.10.2.2.zip
drwxr-xr-x   8 erik  staff   256B Dec 15 19:39 Parcels_Benchmarks_FESOM-baroclinic-gyre_v2025.10.2.2.zip.unzip
-rw-------   1 erik  staff    12G Dec 15 19:48 Parcels_Benchmarks_MOi_data.zip
drwxr-xr-x  13 erik  staff   416B Dec 15 19:50 Parcels_Benchmarks_MOi_data.zip.unzip

Can the *.zip-files be automatically removed when they are unzipped? that would save 12+3=15GB of space in this case

And (far less important): is it possible to change the folder names from *v2025.10.2.2.zip.unzip/ to simply v2025.10.2.2/?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions