Coder Social home page Coder Social logo

ammababoi / pishrink Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 7.0 37 KB

Automatically backup's the raspberry pi OS directly from SD card and shrinks to a smaller image file.

License: MIT License

Shell 100.00%
hacktoberfest hacktoberfest-accepted hacktoberfest2021

pishrink's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @ammababoi
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

pishrink's People

Contributors

ammababoi avatar code-theft avatar guido97 avatar iam-shanmukha avatar lakshya8066 avatar mvrk33 avatar udita-22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pishrink's Issues

PiShrink Error

[androhack7r@evt5002 Documents]:( sudo pishrink device /dev/sda
calling parser
shrink V0.0

insert source SD card and >>> close all popup file manager windows <<<
press [Enter] to continue, CTRL-C to abort

unmount ok

generate image from SD card
/usr/bin/pishrink: line 178: pv: command not found
image read ok

owner and group ok

ready

pishrink V0.0
pishrink: image.img ...
Error: The device /home/androhack7r/Documents/image.img is so small that it cannot possibly store a file system or partition table. Perhaps you selected the wrong device?
Aborting due to errexit on line 466. Exit code: 1
pishrink: ERROR occurred in line image.img: parted failed with rc 1
pishrink: image.img ...

Crashes on Debian 11 bullseye?

Crashes on Debian 11 bullseye?

`# pishrink -h


| ___ () | | () | |
/usr/bin/pishrink: command substitution: line 6: syntax error near unexpected token |' /usr/bin/pishrink: command substitution: line 6: --.| |
_ __ _ _ __ | | __"'
| |
/ /\ --. \ ' | '__| | '_ | |/ /
| | | /_/ / | | | | | | | | | <
/usr/bin/pishrink: line 67: syntax error near unexpected token (' /usr/bin/pishrink: line 67: date_name image name, alternative with date and time: "image
$(date +"%y%m%d%H%M%S") (default: ${IMAGE_NAME})"'
`

Any suggestions?

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.