mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-19 09:25:11 -04:00
fix(export_browser_history): tilde doesn't expand in quotes
This commit is contained in:
parent
a27a91bbaa
commit
0043b59bc8
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ if [[ "$1" == "--safari" ]]; then
|
||||||
if [[ -e "$2" ]]; then
|
if [[ -e "$2" ]]; then
|
||||||
cp "$2" "$OUTPUT_DIR/safari_history.db.tmp"
|
cp "$2" "$OUTPUT_DIR/safari_history.db.tmp"
|
||||||
else
|
else
|
||||||
default="~/Library/Safari/History.db"
|
default=~"/Library/Safari/History.db"
|
||||||
echo "Defaulting to history db: $default"
|
echo "Defaulting to history db: $default"
|
||||||
echo "Optionally specify the path to a different sqlite history database as the 2nd argument."
|
echo "Optionally specify the path to a different sqlite history database as the 2nd argument."
|
||||||
cp "$default" "$OUTPUT_DIR/safari_history.db.tmp"
|
cp "$default" "$OUTPUT_DIR/safari_history.db.tmp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue