You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+11
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,17 @@ $ curl -X POST localhost:8000/task/${task_id}/restart_downloading/
173
173
```
174
174
This simply restarts the download process for samples and full files, but skips the steps of saving and retrieving the file list.
175
175
176
+
### purge files of deleted leecher tasks
177
+
178
+
After a long run, there will be a large number of files of deleted leecher tasks. You may want to delete files that you no longer need, you can call the purge api to delete them:
179
+
```sh
180
+
$ curl -X POST localhost:8000/task/purge/
181
+
```
182
+
By default, deleted files are moved to the trash folder: `baidupcsleecher_trash`, you have to delete them manually. If you want to delete the file completely, set the parameter `move_to_trash=false`:
183
+
```sh
184
+
$ curl -X POST -d "move_to_trash=false" localhost:8000/task/purge/
185
+
```
186
+
176
187
## simple ui
177
188
You can also directly use the browser to access the simple web interface that comes with the service, submit download tasks, and view the task list.
0 commit comments