Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

burn: Check where Pi Imager caches downloaded images #38

Open
rickotten opened this issue Mar 25, 2021 · 4 comments
Open

burn: Check where Pi Imager caches downloaded images #38

rickotten opened this issue Mar 25, 2021 · 4 comments
Assignees
Labels
5 priority five (lowest) documentation easy

Comments

@rickotten
Copy link
Collaborator

rickotten commented Mar 25, 2021

https://www.raspberrypi.org/forums/viewtopic.php?t=272923

Looks like on OSx, it is the following file:

OSx: ~/Library/Caches/Raspberry\ Pi/Imager/lastdownload.cache

Windows: ~\AppData\Local\Raspberry Pi\Imager\cache\lastdownload.cache

Linux: ~/.cache/Raspberry Pi/Imager/lastdownload.cache

Pi: ? (likely same as linux)

Naturally, it appears it only caches the last download.

@laszewsk laszewsk changed the title Check where Pi Imager caches downloaded images burn: Check where Pi Imager caches downloaded images May 2, 2022
@laszewsk laszewsk added the burn label May 2, 2022
@jpfleischer jpfleischer transferred this issue from cloudmesh/cloudmesh-pi-cluster May 2, 2022
@jpfleischer
Copy link
Member

where are images stored on raspberry pi using pi imager?
read the first line of the file and split on .img. in C:\Users<username>\AppData\Local\Raspberry Pi\Imager\cache on windows this is where the cache is stored. for example it is
try to figure
split on \0 (reads like NUL in notepad++) and find the line that contains .img first to get the file name.

@jpfleischer jpfleischer added the 5 priority five (lowest) label May 2, 2022
@laszewsk
Copy link
Member

laszewsk commented May 4, 2022

can we reuse this for burning?

@laszewsk
Copy link
Member

we found this and we found the name of teh os is not preserved in the filename, so we may just put in a comment in the FAQ where it is saved.
mayebe we went an image name such as --image=rpi-imager and then it uses that image, but ist nt super important

@laszewsk
Copy link
Member

remember cms has also rpi-imager build in if it is installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 priority five (lowest) documentation easy
Projects
None yet
Development

No branches or pull requests

3 participants