mirror of
https://github.com/derfenix/photocatalog.git
synced 2026-03-11 21:35:34 +03:00
Update README.md
This commit is contained in:
12
README.md
12
README.md
@@ -47,12 +47,12 @@ Currently, the timestamp format is not customizable. Let me know if support for
|
||||
### One-Time Run
|
||||
|
||||
#### Copy Files
|
||||
```bash
|
||||
```shell
|
||||
photocatalog -mode copy -target ./photos/ -source ./sync/photos/
|
||||
```
|
||||
|
||||
#### Create Hardlinks
|
||||
```bash
|
||||
```shell
|
||||
photocatalog -mode hardlink -target ./photos/ -source ./sync/photos/
|
||||
```
|
||||
|
||||
@@ -61,12 +61,12 @@ photocatalog -mode hardlink -target ./photos/ -source ./sync/photos/
|
||||
Enable continuous monitoring of a source directory:
|
||||
|
||||
#### Copy Files
|
||||
```bash
|
||||
```shell
|
||||
photocatalog -mode copy -target ./photos -watch -source ./sync/photos/
|
||||
```
|
||||
|
||||
#### Create Hardlinks
|
||||
```bash
|
||||
```shell
|
||||
photocatalog -mode hardlink -target ./photos/ -watch -source ./sync/photos/
|
||||
```
|
||||
|
||||
@@ -75,7 +75,7 @@ photocatalog -mode hardlink -target ./photos/ -watch -source ./sync/photos/
|
||||
### Systemd Setup
|
||||
|
||||
Install and configure the service:
|
||||
```bash
|
||||
```shell
|
||||
sh ./init/install_service.sh systemd
|
||||
```
|
||||
|
||||
@@ -86,7 +86,7 @@ This will:
|
||||
3. Open the config file for editing.
|
||||
|
||||
Enable and start the service:
|
||||
```bash
|
||||
```shell
|
||||
systemctl --user enable --now photocatalog
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user