Skip to content

Instantly share code, notes, and snippets.

View kareman's full-sized avatar

Kare Morstol kareman

View GitHub Profile
@kareman
kareman / trash.swift
Last active April 14, 2020 13:40 — forked from beccadax/trash.swift
Swift 3 script for sending files and folders to the trash, using the SwiftShell framework from https://github.com/kareman/SwiftShell .
#!/usr/bin/env swiftshell
/*
* Released under the MIT License (MIT), http://opensource.org/licenses/MIT
*/
import SwiftShell
import Dispatch
import Cocoa