Update README.md

This commit is contained in:
2025-01-04 19:38:14 +03:00
parent 8e315ff557
commit bdd3eee69f

View File

@@ -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
```