Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin to remove original some_folder_or_archive import source #31

Open
Schweinepriester opened this issue Mar 7, 2021 · 1 comment

Comments

@Schweinepriester
Copy link
Owner

Like beetbox/beets#1663 but as a plugin for now.

@Schweinepriester
Copy link
Owner Author

<#
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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant