I'm currently trying to upload some files off of my device onto an external hard drive using Terminal, and I've run into some issues.
Using these steps: https://gist.github.com/kwcto/45e0b985071fad655e17
I've run the command
diskutil mount /dev/disk1s2, which should allow me to read/write on the hard drive.I used
cd /Volumes/<Hard Drive>andlsto navigate onto the hard drive.When running the command
mkdir Backup2021(which should create a folder on the hard drive), I'm met with the error codemkdir: Backup2021: Read-only file systemI'm also unable to copy files from my device onto this external drive, as the walkthrough demonstrates.
This issue is constant over different devices; am I doing anything wrong, or is there an alternative route?
I'm mainly running macOS 10.12.6, but this issue has persisted on devices with different operating systems.
diskutil info <Hard Drive>to get information about the filesystem in use. – Nimesh Neema Jul 31 '21 at 06:20