diff --git a/README.md b/README.md index dfd372a..8d71a9c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ As a pre-requesite, you need a recent version of [Go](golang.org/). ``` go get git.deuxfleurs.fr/quentin/seafile_recovery -~/go/bin/seafile_recovery --help +export PATH="$HOME/go/bin:$PATH" +seafile_recovery --help ``` ## Tutorial @@ -63,7 +64,7 @@ $ seafile_recovery ls 0011d396-4890-463a-8266-bcbd978d8d1c --dir=5911dd2 Now, let's suppose I want to extract the folder "My Folder" and its content and put it in a folder named `out`: ``` -$ ~/go/bin/seafile_recovery cp 0011d396-4890-463a-8266-bcbd978d8d1c --dir=f123de ./out +$ seafile_recovery cp 0011d396-4890-463a-8266-bcbd978d8d1c --dir=f123de ./out 2021/04/28 15:17:28 f123de / 2021/04/28 15:17:28 15be4d /telecom-reclaimed-web-single-page.pdf 2021/04/28 15:17:28 380a0e /Capture d’écran vidéo de 19-12-2020 10:30:15.webm @@ -74,7 +75,7 @@ $ ls out/ Finally, if I prefer to upload this content directly on a S3 bucket, you can do: ``` -$ ~/go/bin/seafile_recovery cp 0011d396-4890-463a-8266-bcbd978d8d1c --dir=f123de s3://ACCESS_KEY:SECRET_KEY@ENDPOINT/REGION/BUCKET[/PREFIX] +$ seafile_recovery cp 0011d396-4890-463a-8266-bcbd978d8d1c --dir=f123de s3://ACCESS_KEY:SECRET_KEY@ENDPOINT/REGION/BUCKET[/PREFIX] 2021/04/28 15:17:28 f123de / 2021/04/28 15:17:28 15be4d /telecom-reclaimed-web-single-page.pdf 2021/04/28 15:17:28 380a0e /Capture d’écran vidéo de 19-12-2020 10:30:15.webm