Created
August 10, 2022 02:44
-
-
Save sunnyyoung/44bd981284c893d9e06e868fe1fbd585 to your computer and use it in GitHub Desktop.
Raycast script command: Move all items from Donwloads to Trash.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
# @raycast.schemaVersion 1 | |
# @raycast.title Clear Downloads | |
# @raycast.icon 🚮 | |
# @raycast.mode silent | |
tell application "Finder" | |
set targets to every item of folder (path to downloads folder as text) | |
delete targets | |
end tell | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment