dotfiles/bin/07-wd-passport.fish
2020-04-27 14:47:36 +08:00

10 lines
292 B
Fish
Executable File

#!/usr/bin/env fish
sudo pacman -Sy python2-pip lsscsi
sudo pip2 install py_sg
mkdir -p ~/Programs/bin
curl -L https://github.com/0-duke/wdpassport-utils/raw/master/wdpassport-utils.py | sed 's/python/python2/' \
> ~/Programs/bin/wdpassport-utils
chmod +x ~/Programs/bin/wdpassport-utils