Forrest logo
back to the strings tool

strings:ai:8d3e5

find delated history
$ strings ~/Library/Safari/History.db | grep -A 1 deleted | grep hhttp | awk '{print "{\"command\": \""$0"\", \"description\": \"Deleted History URL\"}"}'
try on your machine

To find the deleted history on macOS, you can use the following CLI command:

strings ~/Library/Safari/History.db | grep -A 1 deleted | grep hhttp | awk '{print "{\"command\": \""$0"\", \"description\": \"Deleted History URL\"}"}'

This command searches for deleted history URLs in Safari's History database. The result will be returned as a JSON string with two fields: "command" containing the deleted history URL and "description" describing it as "Deleted History URL".

Please note that this command assumes you are using Safari as your web browser and the History database is located in the default location. If you are using a different browser or the History database is stored in a different location, the command might need modifications.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • find delated history?
back to the strings tool