From 089d5627645dff9dc46e41bab03697c3383426bd Mon Sep 17 00:00:00 2001 From: psychhim Date: Tue, 18 Nov 2025 14:18:53 +0530 Subject: [PATCH] Update: README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 496f366..2211644 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Upload.sh – Command-Line File Uploader with History & Status -**Upload.sh** is a versatile Bash script to upload files to a server via HTTP POST, track uploaded files, and manage their status. It supports authentication, additional headers and form fields, clipboard copying, colored output, and maintains a hidden history of uploads with active/expired status checks. +**Upload.sh** is a versatile Bash program to upload files to a server via HTTP POST, track uploaded files, and manage their status, delete a file from server if the server supports it. It supports authentication, additional headers and form fields, clipboard copying, colored output, and maintains a hidden history of uploads with active/expired status checks. --- @@ -58,6 +58,12 @@ upload -f file.png -U https://upload.example.com upload -f file.png -H "X-API-Key: key" -F "extra=field" +### Delete an uploaded file: + +upload -d file.png +or +upload -d https://example.com/file.png + ## Viewing History: ### Recent Uploads (Outputs all uploads (oldest → newest) with timestamp, filename, and URL)