Update extra/docs/README.md
This commit is contained in:
parent
38d4641167
commit
ce32a1c4c5
@ -1,12 +1,14 @@
|
|||||||
1.
|
1.
|
||||||
|
|
||||||
dl helper
|
dl helper
|
||||||
|
|
||||||
|
save to: ` ~/.local/bin/dl `, then ` chmod +x ~/.local/bin/dl `
|
||||||
|
|
||||||
|
current dir
|
||||||
|
` dl 'https://github.com/user/repo/two/blob/main/file.txt' `
|
||||||
|
|
||||||
to current dir
|
custom dir
|
||||||
` ./dl.py 'https://github.com/user/repo/two/blob/main/file.txt' `
|
` dl 'https://gitea.example.com/user/repo/two/src/branch/path/file.txt' ~/downloads `
|
||||||
|
|
||||||
to custom dir
|
|
||||||
` ./dl.py 'https://gitea.example.com/user/repo/two/src/branch/path/file.txt' ~/downloads `
|
|
||||||
|
|
||||||
|
|
||||||
```python3
|
```python3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user