This commit is contained in:
kento2 2026-09-09 18:41:42 +02:00
commit aae369b9c8
9 changed files with 334 additions and 0 deletions

24
pipeshare.1 Normal file
View file

@ -0,0 +1,24 @@
.TH pipeshare 1
.SH NAME
pipeshare \- share files
.SH SYNOPSIS
pipeshare [-C dir] < FILE
.SH OPTIONS
\-C dir
chdir into dir at startup
.SH DESCRIPTION
if \-C is given, pipeshare cd's into the specified
directory.
It chooses a unique filename in the directory(called the id)
and copys stdin into that files. Then it creates an
"alias"-file that reuses the same filename but with an added
extension. The extension is determined based on the MIME
type of the file.
.PP
To delete old files, pipeshare-clean(1) may be used.
.SH ENVIRONMENT
WWWBASE
base url to print. e.g. https://example.org will make
pipeshare print https://example.org/r4nd0m.txt
.SH "SEE ALSO"
pipeshare-clean(1)