Skip to content

Hanspe-3019/Alfred-Workflow-unmountDisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Alfred-Workflow-unmountDisk

Alfred workflow to help ejecting devices with multiple volumes.

Warning: This Workflow is implemented in Python and uses /usr/bin/python, that is python 2.7 ☹️. Because python 2 is removed from macOS 12.3., use the current version of this workflow, it is contained in my repo "Collection of my public Alfred Workflows". It uses python 3.x 😊.

Start

List of devices

Show external devices connected to your Mac and unmount selected physical disk with

     diskutil unmountDisk

Using modifier key ⌘ (cmd) will issue

     diskutil unmountDisk force 

This workflow was created to overcome some shortcomings with Alfred's system command Eject, which today does not handle well drives with multiple partitions and snapshots in APFS containers, e.g. time machine volumes with Big Sur.

You can place icon files into directory $ICONDIR to be placed before a device. Name of icon file is .png and $ICONDIR is relative to your home directory, that is ICONDIR=Pictures/icons will point to /Users/userid/Pictures/icons.

If no icon file exits, a default icon 💾 will be used. If there are mutliple partions in the disk, the first icon file found from the disk's volume names will be taken.

Requirements

Installation

Open file unmount.alfredworkflow with Alfred from Finder.

About

Alfred workflow to help ejecting devices with mutliple volumes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published