Last edit: @abarnett in <!error getting other user for D6NDVJ8F3> 2 years ago - Slack Archive

add the following line to your arsenal of aliases to easily eject your flash drives from the terminal:

`alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}'"`

—

or run the line below to quickly add it to your profile:

`echo "alias eject=\"diskutil unmountDisk \$(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc`

History

add the following line to your arsenal of aliases to easily eject your flash drives from the terminal:

`alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}'"`

—

or run the line below to quickly add it to your profile:

`echo "alias eject=\"diskutil unmountDisk \$(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc`

Revision: 2195 (deleted) by @abarnett in <!error getting other user for D6NDVJ8F3> 2 years agoSlack Archive

&1

Revision: 2194 (deleted) by @abarnett in <!error getting other user for D6NDVJ8F3> 2 years agoSlack Archive

&1add the following line to your arsenal of aliases to easily eject your flash drives from the terminal:

Revision: 1046 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

add the following line to your arsenal of aliases to easily eject your flash drives from the terminal:

alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}'"

—

or run the line below to quickly add it to your profile:

echo "alias eject=\"diskutil unmountDisk \$(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc

Revision: 1045 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

add the following line to your arsenal of aliases to easily eject your flash drives from the terminal:

alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}'"

—

or run the line below to quickly add it to your profile:

echo "alias eject=\"diskutil unmountDisk \$(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc

Revision: 1044 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

add the following line to your arsenal of aliases to easily eject your flash drives from the terminal
alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}'"
or run the line below to add it to your profile
echo "alias eject=\"diskutil unmountDisk \$(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc

Revision: 1043 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

add the following line to your arsenal of aliases to easily eject your flash drives from the terminal
`alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}'"`
or run the line below to add it to your profile
echo "alias eject=\"diskutil unmountDisk \$(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc

Revision: 1042 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

add the following line to your arsenal of aliases to easily eject your flash drives from the terminal
alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}'"
or run the line below to add it to your profile
echo "alias eject=\"diskutil unmountDisk \$(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc

Revision: 1041 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

echo "alias eject=\"diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}')\"" >> ~/.zshrc

Revision: 1040 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

alias eject="diskutil unmountDisk $(diskutil list | grep external | xargs | awk '{print $1}')"

Revision: 1033 by @sino in <!error getting other user for D3NCU21B5> 2 years agoSlack Archive

alias eject="diskutil unmountDisk $(diskutil list | grep external -A10 | xargs | awk '{print $1}')"