Open Schweinepriester opened 3 years ago
<#
1. Install Recycle (https://stackoverflow.com/a/41985972)
2. Put into $profile (https://dev.to/seankilleen/how-to-create-a-powershell-alias-with-parameters-3g53)
3. ???
4. Profit
#>
function beets([string]$Path)
{
beet -vv import "$Path"
# TODO implement checking for $LASTEXITCODE === 0 before continuing
Remove-ItemSafely "$Path"
}
Like https://github.com/beetbox/beets/issues/1663 but as a plugin for now.