Skip to content

Instantly share code, notes, and snippets.


Kare Morstol kareman

View GitHub Profile
kareman / trash.swift
Last active Apr 14, 2020 — forked from beccadax/trash.swift
Swift 3 script for sending files and folders to the trash, using the SwiftShell framework from .
View trash.swift
#!/usr/bin/env swiftshell
* Released under the MIT License (MIT),
import SwiftShell
import Dispatch
import Cocoa