1.0 KiB
1.0 KiB
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
- Create a folder that is publicily visible on a web server, like Nginx.
- Copy the flit.example as executable
flit, and add the public URL in the script. - Have the flit.py in the same folder.
- Add a symlink to flit script so that it is in the PATH, i.e.
ln -s $(pwd)/flit ~/.local/bin/flit - Add
flit delto 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.