Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Document crawldir --nojunk flag #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions developers/alephclient.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ The `crawldir` command crawls through a given directory recursively and uploads
alephclient crawldir --foreign-id wikileaks-cable /Users/sunu/data/cable
```

Optionally pass the `--nojunk` flag to exclude files and directories commonly created by operating systems, such as `thumbs.db` or `desktop.ini`, that you might not want to upload to Aleph:

```bash
alephclient crawldir --nojunk --foreign-id wikileaks-cable /Users/sunu/data/cable
```

When Aleph imports data, it performs optical character recognition \(OCR\) on images contained in the material. This works better when Aleph already has an idea of the language the documents might use. This can be specified with the `--language` option, which expects a 3-letter ISO 639 language code. It can be specified multiple times, for when the directory contains files in more than one language.

```bash
Expand Down