Skip to content

Instantly share code, notes, and snippets.

@bzeron
Created July 6, 2019 06:30
Show Gist options
  • Save bzeron/067218f271948f0d6ec1f986512a05ae to your computer and use it in GitHub Desktop.
Save bzeron/067218f271948f0d6ec1f986512a05ae to your computer and use it in GitHub Desktop.
#!/bin/bash
# 查看磁盘
df -h
# 格式磁盘 ---> fat32
DISK_NAME=disk2
diskutil partitionDisk ${DISK_NAME} 1 MBR fat32 NEW 100%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment