Giter Club home page Giter Club logo

Comments (8)

jfitzpat avatar jfitzpat commented on July 30, 2024

I got exactly the same error.

from pishrink.

framps avatar framps commented on July 30, 2024

What's the result of

ls -la pi.img

?

from pishrink.

jfitzpat avatar jfitzpat commented on July 30, 2024

pi@pi:/media/pi/THUMBZILLA $ ls -la *
-rw-r--r-- 1 pi pi 4294967295 Jul 18 09:44 oldpi.img

from pishrink.

framps avatar framps commented on July 30, 2024

Hm ... according this description

-f file
              True if file exists and is a regular file.

A regular file is something that isn't a directory, symlink, socket, device, etc.

you shouldn't get the error message 😕

from pishrink.

jfitzpat avatar jfitzpat commented on July 30, 2024

It is very peculiar. The image in on a mounted thumb drive. I tried gzip, then reloaded it on another SD card with the PI Imager - nothing weird about the image. I've also used successfully used pishrink.sh before...

from pishrink.

shatteredsword avatar shatteredsword commented on July 30, 2024

pishrink doesn't work correctly if run directly on an external drive. you'll need to copy the file over to your filesystem and then back again once you've shrank the file.

from pishrink.

BigBobDalton avatar BigBobDalton commented on July 30, 2024

I get the same error. No, its not on a external drive.

from pishrink.

Drewsif avatar Drewsif commented on July 30, 2024

Try giving the full path to the file instead of a relative path. If there are spaces in the path be sure to put it in quotes

from pishrink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.