Skip to content

Instantly share code, notes, and snippets.

@wesleyit
Last active May 3, 2023 12:26
Show Gist options
  • Save wesleyit/4a442c8a9a1c88a49eb0a5142decbc0d to your computer and use it in GitHub Desktop.
Save wesleyit/4a442c8a9a1c88a49eb0a5142decbc0d to your computer and use it in GitHub Desktop.
There are many cheap SD Cards with different capacities than informed on labels. Check with this command how many files really can be created inside them.
for n in {001..999}; do dd if=/dev/zero of=test_image_$n bs=1M count=1000 status=progress; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment