24 lines
684 B
Groff
24 lines
684 B
Groff
.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)
|