From 8f88b626f0bf5275ea84d2cc30d4e3a7f4f9ea8c Mon Sep 17 00:00:00 2001 From: Joop Schilder Date: Tue, 23 Mar 2021 22:09:04 +0100 Subject: [PATCH] Update readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8873fb3..d53f372 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To run it, you need [Composer](https://getcomposer.org/) and [PHP >= 7.4](https: as [poppler-utils](https://pypi.org/project/poppler-utils/). Installation of poppler-utils on Ubuntu is very simple: ```sh -# apt update && apt install poppler-utils +sudo apt update && sudo apt install poppler-utils ``` ## Finding documents: `bin/pdf-finder.php` @@ -30,25 +30,25 @@ always be the directory. Filters are optional. To find every PDF document with 'python' in its path, filename or any metadata field in the ~/Documents folder: ```sh -$ bin/pdf-finder.php ~/Documents python +bin/pdf-finder.php ~/Documents python ``` ... with 'python' in the title (metadata property): ```sh -$ bin/pdf-finder.php ~/Documents title=python +bin/pdf-finder.php ~/Documents title=python ``` ... with 'ritchie' in the author field and where the title property is set: ```sh -$ bin/pdf-finder.php ~/Documents author=ritchie title= +bin/pdf-finder.php ~/Documents author=ritchie title= ``` ... with 'programming' and 'python' in the filename: ```sh -$ bin/pdf-finder.php ~/Documents filename=programming filename=python +bin/pdf-finder.php ~/Documents filename=programming filename=python ``` ### Available filters