32 lines
853 B
Markdown
32 lines
853 B
Markdown
# FLIT
|
|
|
|
Create fluttering folders
|
|
|
|
Basic function:
|
|
|
|
- You want to share files over a web server.
|
|
- You don't want the URL to be guessable, but also not too long to share.
|
|
- You want the share to expire over time, and files deleted
|
|
|
|
# Installation
|
|
|
|
- Install module with pip or pipx
|
|
- Create a folder that is publicily visible on a web server, for example Nginx.
|
|
- Add `flit del` to daily cron
|
|
|
|
# Usage
|
|
|
|
- flit add [-d {days}] [-m {description}] [files]
|
|
- Create folder with 30 days or specified life time
|
|
- You can add *files* to be copied in the folder, or simply copy them
|
|
yourself.
|
|
- flit list [-v]
|
|
- List folders with due dates
|
|
- Use the verbose switch to list URLS to all files in the shares
|
|
- flit del
|
|
- Delete due folders
|
|
|
|
Note: This utility does not create indexes of files. Use another tool, or let
|
|
web server index.
|
|
|