added capability to show and remove the stored list of everything you have downloaded in OSX

This commit is contained in:
Mark Tareshawty 2013-01-18 23:39:14 -05:00
commit 463b58d166

View file

@ -154,3 +154,12 @@ function trash() {
IFS=$temp_ifs
}
function listDownloads() {
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*\
'select LSQuarantineDataURLString from LSQuarantineEvent'
}
function removeDownloadsList() {
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*\
'delete from LSQuarantineEvent'
}