rm NOTES.md
This commit is contained in:
parent
162be1bcac
commit
2ccf55e92b
7
NOTES.md
7
NOTES.md
@ -1,7 +0,0 @@
|
|||||||
## List drives in external usb bay
|
|
||||||
|
|
||||||
fish shell script:
|
|
||||||
```fish
|
|
||||||
find /dev/disk/by-id -name "usb*" | grep -v "part[0-9]\$" | while read drive; lsblk -no model,serial $drive | head -n1 | tr -d '\n' | tr " " "_" && echo -e " $(echo $drive | cut -d':' -f2-)"; end | column -t --table-columns=DRIVE,BAY | sort -n -k 2
|
|
||||||
```
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user