mac删除顽固图标

时间:2022-01-07 12:38:39

cd  /Users/shelley/Library/Application\ Support/Dock

cp  10CCA448-0975-41DE-B47A-8E89FD634227.db  10CCA448-0975-41DE-B47A-8E89FD634227.db_bak

sqlite3 10CCA448-0975-41DE-B47A-8E89FD634227.db

.help

.schema apps

CREATE TABLE apps (item_id INTEGER PRIMARY KEY, title VARCHAR, bundleid VARCHAR, storeid VARCHAR,category_id INTEGER, moddate REAL, bookmark BLOB);

select * from apps;

select * from apps where title like '58%';

delete from apps where item_id in (195);

.exit

reboot