mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 20:09:48 -05:00
docs(readme): add cleanup script to README.md
This commit is contained in:
parent
38a0144ad7
commit
929f664b09
1 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,12 @@ curl -F "file=@x.txt" -H "expire:10min" "<server_address>"
|
|||
curl -F "oneshot=@x.txt" "<server_address>"
|
||||
```
|
||||
|
||||
#### Cleaning Up Expired Files
|
||||
|
||||
```sh
|
||||
find upload/ -maxdepth 2 -type f -iname "*.[0-9]*" -exec rm -v {} \;
|
||||
```
|
||||
|
||||
#### URL Shortening
|
||||
|
||||
```sh
|
||||
|
|
Loading…
Reference in a new issue