Created
October 16, 2015 09:10
-
-
Save mfr/ebc0cd4c4c4cbf6cb5ae to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
echo "DELETE FROM moz_places WHERE rev_host LIKE '%elgoog%' AND url NOT LIKE 'http://google.com/' AND visit_count < 3;" | sqlite3 /Users/mfr/Library/Application\ Support/Firefox/Profiles/ghjefy2u.default/places.sqlite | |
for f in ~/Library/Application\ Support/Firefox/Profiles/*/*.sqlite; do echo "VACUUM;" | sqlite3 "$f" ; done | |
#for f in ~/Library/Application\ Support/Firefox/Profiles/*/*.sqlite; do echo $f; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment