- Download the Passport Drive utility wdpassport-utils, replace the imported library
py_sgwithpy3_sg.import py3_sg as py_sg - Install packages
python-develandlsscsiusing the package management. - Install python library
py3_sgusingpip3:sudo python3 -m pip install py3_sg sudo pip3 install --user git+https://github.com/tvladyslav/py3_sg - Get the drive name, check the line
[xxx] Attached SCSI diskabove the WD My Passport Drive.dmesg | grep -i scsi - Mount the drive and enter the password.
sudo ~/wdpassport-utils.py -u --device /dev/xxx
Back to Memo