mirror of
https://github.com/hyzendust/command_upload.git
synced 2026-02-15 04:01:15 +01:00
Update: new URL freedoms4.org
This commit is contained in:
26
README.md
26
README.md
@@ -96,15 +96,13 @@ upload -C -e
|
|||||||
|
|
||||||
~/.uploaded_files.txt
|
~/.uploaded_files.txt
|
||||||
|
|
||||||
Each line format:
|
--Each line format: YYYY-MM-DD HH:MM:SS | filename | URL
|
||||||
|
|
||||||
YYYY-MM-DD HH:MM:SS | filename | URL
|
--Tracks last 100 uploads.
|
||||||
|
|
||||||
Used for tracking last 100 uploads.
|
--recent flag outputs the contents of the file.
|
||||||
|
|
||||||
--recent shows chronological uploads.
|
--check flag checks all the URLs from the file and shows if they are still active.
|
||||||
|
|
||||||
--check verifies if URLs are still active.
|
|
||||||
|
|
||||||
## Colors
|
## Colors
|
||||||
|
|
||||||
@@ -120,23 +118,15 @@ upload -f file.png --no-color
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
Bash 4+
|
Bash 4+, curl
|
||||||
|
|
||||||
curl
|
For clipboard copying: xclip(Linux), pbcopy(MacOS)
|
||||||
|
|
||||||
Optional for clipboard copying:
|
For screenshot uploading: grim, slurp
|
||||||
|
|
||||||
Linux: xclip
|
|
||||||
|
|
||||||
macOS: pbcopy
|
|
||||||
|
|
||||||
Optional for Screenshot uploading:
|
|
||||||
|
|
||||||
grim, slurp
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT License - https://mit-license.org/
|
MIT License - https://mit-license.org/
|
||||||
|
|
||||||
### Author
|
### Author
|
||||||
Created by psychhim – https://github.com/hexZoN3/command_upload
|
Created by hyzen – https://github.com/hyzendust/command_upload
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
UPLOAD_URL="https://user:pass@upload.freedoms4.top/index.php"
|
UPLOAD_URL="https://user:pass@upload.freedoms4.org/index.php"
|
||||||
HISTORY_FILE="$HOME/.uploaded_files.txt"
|
HISTORY_FILE="$HOME/.uploaded_files.txt"
|
||||||
COPY_TO_CLIPBOARD=false
|
COPY_TO_CLIPBOARD=false
|
||||||
USE_COLOR=true
|
USE_COLOR=true
|
||||||
|
|||||||
Reference in New Issue
Block a user