mirror of https://github.com/Chocobozzz/PeerTube
Better tools.md doc
parent
9024bece9a
commit
5b036b8ef2
|
@ -82,12 +82,12 @@ The wrapper provides a convenient interface to the following scripts. You can ac
|
||||||
The wrapper can keep track of instances you have an account on. We limit to one account per instance for now.
|
The wrapper can keep track of instances you have an account on. We limit to one account per instance for now.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ peertube auth add -u "PEERTUBE_URL" -U "PEERTUBE_USER" --password 'PEERTUBE_PASSWORD'
|
$ peertube auth add -u 'PEERTUBE_URL' -U 'PEERTUBE_USER' --password 'PEERTUBE_PASSWORD'
|
||||||
$ peertube auth list
|
$ peertube auth list
|
||||||
┌──────────────────────────────┬──────────────────────────────┐
|
┌──────────────────────────────┬──────────────────────────────┐
|
||||||
│ instance │ login │
|
│ instance │ login │
|
||||||
├──────────────────────────────┼──────────────────────────────┤
|
├──────────────────────────────┼──────────────────────────────┤
|
||||||
│ "PEERTUBE_URL" │ "PEERTUBE_USER" │
|
│ 'PEERTUBE_URL' │ 'PEERTUBE_USER' │
|
||||||
└──────────────────────────────┴──────────────────────────────┘
|
└──────────────────────────────┴──────────────────────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -110,15 +110,15 @@ Be sure you own the videos or have the author's authorization to do so.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ node dist/server/tools/peertube-import-videos.js \
|
$ node dist/server/tools/peertube-import-videos.js \
|
||||||
-u "PEERTUBE_URL" \
|
-u 'PEERTUBE_URL' \
|
||||||
-U "PEERTUBE_USER" \
|
-U 'PEERTUBE_USER' \
|
||||||
--password 'PEERTUBE_PASSWORD' \
|
--password 'PEERTUBE_PASSWORD' \
|
||||||
-t "TARGET_URL"
|
-t 'TARGET_URL'
|
||||||
```
|
```
|
||||||
|
|
||||||
* `PEERTUBE_URL` : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re
|
* `PEERTUBE_URL` : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re
|
||||||
* `PEERTUBE_USER` : your PeerTube account where videos will be uploaded
|
* `PEERTUBE_USER` : your PeerTube account where videos will be uploaded
|
||||||
* `PEERTUBE_PASSWORD` : password of your PeerTube account (if omitted, you will be prompted for it)
|
* `PEERTUBE_PASSWORD` : password of your PeerTube account (if `PEERTUBE_PASSWORD` is omitted, you will be prompted for it)
|
||||||
* `TARGET_URL` : the target url you want to import. Examples:
|
* `TARGET_URL` : the target url you want to import. Examples:
|
||||||
* YouTube:
|
* YouTube:
|
||||||
* Channel: https://www.youtube.com/channel/ChannelId
|
* Channel: https://www.youtube.com/channel/ChannelId
|
||||||
|
|
Loading…
Reference in New Issue