Skip to content

Instantly share code, notes, and snippets.

View Axadiw's full-sized avatar

Michał Mizera Axadiw

  • Snowflake
  • Warsaw, Poland
  • X @axadiw
View GitHub Profile
@Axadiw
Axadiw / fake_format
Last active August 11, 2019 09:52
Alternative fake_format for ParaShoot (https://ottomatic.io/o/parashoot/) that removes all contents of a drive, instead of fake_formatting it
#!/bin/bash
if [ -z "$*" ]; then
echo "No args"
exit 1
fi
if [[ $1 == '-v' ]]; then
echo "1.2.0"
exit 0