Skip to content

Instantly share code, notes, and snippets.

View wemakerspace's full-sized avatar

Joey Pei Xuan Foo wemakerspace

  • Malaysia
  • 00:20 (UTC +08:00)
View GitHub Profile
@wemakerspace
wemakerspace / sdtest.sh
Created August 11, 2022 05:39 — forked from fopina/sdtest.sh
SD Card Speed Test (from Raspberry Pi Agnostics package)
#!/bin/bash
#NAME=SD Card Speed Test
#DESC=Determines whether an SD card can read and write data fast enough to provide adequate performance.\n\nShould be run on a new or newly-formatted SD card.
# Original at https://raw.githubusercontent.com/raspberrypi-ui/agnostics/1dc4a426e3a2b75276c560b612123a8551b6c0e2/data/sdtest.sh
# run with
# curl -s https://gist.githubusercontent.com/fopina/3b41fc00604d2b7ba0ce82fff6a7e211/raw/sdtest.sh | sudo bash -
# default test file location will be in /var/tmp, you can choose other directory as first parameter of the script
# curl -s https://gist.githubusercontent.com/fopina/3b41fc00604d2b7ba0ce82fff6a7e211/raw/sdtest.sh | sudo bash -s /mnt/usb