|
本帖最后由 ko20010214 于 2024-11-26 22:22 编辑
每次制作便携版的chrome时要找出DATA里与设置无关的文件太麻烦了,后来经过试验,只要保留一些文件,其它文件用批处理都删除就好了。
DATA 目录下 只要有 Default目录和 local state 这个文件即可。
Default目录下只需要执行clear.cmd 就可以删除无关的文件,保留下不丢失设置的文件。
万恶的回复可见。
Clear.cmd.txt
(3.27 KB, 下载次数: 66)
大功告成,打个Kiss!
RD /S /Q "Platform Notifications"
RD /S /Q "Sync Extension Settings"
RD /S /Q "Extension Rules"
RD /S /Q "Local Storage"
RD /S /Q "Extension Scripts"
RD /S /Q "JumpListIconsRecentClosed"
RD /S /Q "Web Applications"
RD /S /Q "BudgetDatabase"
RD /S /Q "Feature Engagement Tracker"
RD /S /Q "Sync Data"
RD /S /Q "GCM Store"
RD /S /Q "AutofillStrikeDatabase"
RD /S /Q "optimization_guide_hint_cache_store"
RD /S /Q "Download Service"
RD /S /Q "Shared Dictionary"
RD /S /Q "Network"
RD /S /Q "ClientCertificates"
RD /S /Q "Site Characteristics Database"
RD /S /Q "blob_storage"
RD /S /Q "Service Worker"
RD /S /Q "parcel_tracking_db"
RD /S /Q "discounts_db"
RD /S /Q "commerce_subscription_db"
RD /S /Q "WebStorage"
RD /S /Q "shared_proto_db"
RD /S /Q "Session Storage"
RD /S /Q "Segmentation Platform"
RD /S /Q "DawnGraphiteCache"
RD /S /Q "DawnWebGPUCache"
RD /S /Q "GPUCache"
RD /S /Q "PersistentOriginTrials"
RD /S /Q "Sessions"
RD /S /Q "Safe Browsing Network"
RD /S /Q "IndexedDB\chrome-extension_mciiogijehkdemklbdcbfkefimifhecn_0.indexeddb.leveldb"
RD /S /Q "IndexedDB\chrome-extension_bpoadfkcbjbfhfodiogcnhhhpibjhbnh_0.indexeddb.leveldb"
RD /S /Q "Local Extension Settings\mgpdnhlllbpncjpgokgfogidhoegebod"
RD /S /Q "Local Extension Settings\mciiogijehkdemklbdcbfkefimifhecn"
RD /S /Q "Local Extension Settings\odfonlkabodgbolnmmkdijkaeggofoop"
::RD /S /Q "Local Extension Settings\ombkalbfcdlifgcdjokffldamflkokin"
RD /S /Q "Local Extension Settings\bpoadfkcbjbfhfodiogcnhhhpibjhbnh"
::RD /S /Q "Local Extension Settings\dhdgffkkebhmkfjojejmpbldmpobfkfo"
RD /S /Q "Local Extension Settings\cdonnmffkdaoajfknoeeecmchibpmkmg"
RD /S /Q "Local Extension Settings\nnnkddnnlpamobajfibfdgfnbcnkgngh"
RD /S /Q "Local Extension Settings\ohlencieiipommannpdfcmfdpjjmeolj"
RD /S /Q "Local Extension Settings\gjihingkbplhbfjedbabmjdjmhnhjbhd"
RD /S /Q "Local Extension Settings\naompigmglpmffkmbnfcfjcfeppcpfef"
DEL /Q "Favicons-journal"
DEL /Q "Reporting and NEL-journal"
DEL /Q "Favicons"
DEL /Q "Top Sites"
DEL /Q "Top Sites-journal"
DEL /Q "LOCK"
DEL /Q "LOG"
DEL /Q "Login Data-journal"
DEL /Q "Login Data For Account-journal"
DEL /Q "Trust Tokens"
DEL /Q "Trust Tokens-journal"
DEL /Q "SharedStorage"
DEL /Q "Safe Browsing Cookies"
DEL /Q "Reporting and NEL"
DEL /Q "BrowsingTopicsState"
DEL /Q "Safe Browsing Cookies-journal"
DEL /Q "Affiliation Database-journal"
DEL /Q "Visited Links"
DEL /Q "Cookies"
DEL /Q "Cookies-journal"
DEL /Q "Affiliation Database"
DEL /Q "Login Data For Account"
DEL /Q "Web Data-journal"
DEL /Q "Shortcuts"
DEL /Q "Shortcuts-journal"
DEL /Q "Network Action Predictor"
DEL /Q "Network Action Predictor-journal"
DEL /Q "DIPS"
DEL /Q "DIPS-journal"
DEL /Q "History-journal"
DEL /Q "PreferredApps"
DEL /Q "Web Data"
DEL /Q "BrowsingTopicsSiteData"
DEL /Q "BrowsingTopicsSiteData-journal"
DEL /Q "History"
DEL /Q "Network Persistent State"
DEL /Q "heavy_ad_intervention_opt_out.db"
DEL /Q "heavy_ad_intervention_opt_out.db-journal"
DEL /Q "TransportSecurity"
DEL /Q "DownloadMetadata"
DEL /Q "InterestGroups"
DEL /Q "PrivateAggregation-journal"
DEL /Q "PrivateAggregation"
DEL /Q "CdmStorage.db-journal"
DEL /Q "CdmStorage.db"
DEL /Q "MediaDeviceSalts-journal"
DEL /Q "MediaDeviceSalts"
DEL /Q *.old
DEL /Q *.bak
DEL /Q *.bad
|
|