Use mkdir -p in install docs

This commit is contained in:
Nick Sweeting 2026-06-07 02:57:38 -07:00
parent 8a22449c29
commit 2b9a1a7887
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View File

@ -303,7 +303,7 @@ archivebox version # make sure the package is installed
</code></pre>
</li>
<li>Create a new empty directory and initialize your collection (can be anywhere).
<pre lang="bash"><code style="white-space: pre-line">mkdir ~/archivebox/data && cd ~/archivebox/data
<pre lang="bash"><code style="white-space: pre-line">mkdir -p ~/archivebox/data && cd ~/archivebox/data
archivebox init
sudo archivebox install
archivebox add 'https://example.com'
@ -512,7 +512,7 @@ archivebox persona create --import=chrome personal
# make sure you have pip-installed ArchiveBox and it's available in your $PATH first
<br/>
# archivebox [subcommand] [--help]
mkdir ~/archivebox/data && cd ~/archivebox/data
mkdir -p ~/archivebox/data && cd ~/archivebox/data
archivebox init
sudo archivebox install
archivebox add 'https://example.com'

View File

@ -149,7 +149,7 @@ echo 'deb [trusted=yes] https://archivebox.github.io/debian-archivebox dev main'
sudo apt update
sudo apt install archivebox
mkdir ~/archivebox/data && cd ~/archivebox/data
mkdir -p ~/archivebox/data && cd ~/archivebox/data
archivebox init
sudo archivebox install
archivebox add 'https://example.com'
@ -206,7 +206,7 @@ pip install --upgrade --ignore-installed archivebox[ldap,sonic]
Finish installing runtime dependencies for the enabled ArchiveBox plugins.
```bash
# create a new empty folder anywhere to hold your collection, and cd into it
mkdir ~/archivebox/data && cd ~/archivebox/data
mkdir -p ~/archivebox/data && cd ~/archivebox/data
# instantiate the directory as an archivebox collection dir
archivebox init