Browse Source

make output dir in script

Nick Sweeting 7 years ago
parent
commit
329b06ec5a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bin/archivebox-export-browser-history

+ 2 - 0
bin/archivebox-export-browser-history

@@ -2,6 +2,8 @@
 
 
 REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd )"
 REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd )"
 
 
+mkdir -p "$REPO_DIR/output/sources"
+
 if [[ "$1" == "--chrome" ]]; then
 if [[ "$1" == "--chrome" ]]; then
     # Google Chrome / Chromium
     # Google Chrome / Chromium
     default=$(ls ~/Library/Application\ Support/Google/Chrome/Default/History)
     default=$(ls ~/Library/Application\ Support/Google/Chrome/Default/History)