FShare is a command-line utility for file sharing.
Files are automatically removed after 6 days. or you can delete it immediately.
XOrg / Wayland Compatible
- Supports both Wayland and Xorg environments.
- Copies URL to clipboard for effortless sharing.
- Maintains history in
~/.fsharefor easy file management. - Interactive file picker using
fzfwhen no file is specified. - Automatically generates a random bin name for improved privacy.
- curl: For HTTP requests.
- fzf (optional): For interactive file selection.
- xclip (optional): For Xorg clipboard support.
- wl-clipboard (optional): For Wayland clipboard support.
-
Download the script:
wget https://raw.githubusercontent.com/flarexes/fshare/main/fshare
-
Make the script executable:
chmod +x fshare
Run the script with the file or directory path as an argument:
./fshare /path/to/your/fileIf no path is provided, the script will prompt you to select a file using fzf.
After each upload, fshare prints the command required to delete the uploaded file immediately and saves it to ~/.fshare for future reference.
You can either run the command shown after the upload or retrieve it later from ~/.fshare.
This project is licensed under the MIT License - see the LICENSE file for details.
