Add recycle.py.

This commit is contained in:
voussoir 2020-08-10 20:51:51 -07:00
parent b7fffcc0c8
commit 09a03fd4b0

9
recycle.py Normal file
View file

@ -0,0 +1,9 @@
import send2trash
import sys
from voussoirkit import winglob
for pattern in sys.argv[1:]:
for file in winglob.glob(pattern):
print(file)
send2trash.send2trash(file)