marisa/marisa-trash.1
yakumo.izuru 65ffd37fbe もっと頑張れよ、魔理沙
git-svn-id: file:///srv/svn/repo/marisa/trunk@69 d6811dac-2434-b64a-9ddc-f563ab233461
2025-04-18 17:17:48 +00:00

45 lines
801 B
Groff

.Dd $Mdocdate$
.Dt MARISA-TRASH 1
.Os
.Sh NAME
.Nm marisa-trash
.Nd Purge expired share files
.Sh SYNOPSIS
.Nm marisa-trash
.Op Fl v
.Op Fl f Ar files
.Op Fl m Ar metadata
.Sh DESCRIPTION
Upon each run,
.Nm
will check expiration times for files in the
.Pa metadata
directory, and delete the according file in the
.Pa files
directory if the expiration time has passed.
.Pp
.Nm
is best run as a
.Xr cron 8
job, as the same user as the
.Xr marisa 1
daemon.
.Bl -tag -width Ds
.It Fl v
Turn on verbose logging to
.Pa stderr
.It Fl f Ar files
Set the location of actual files to
.Pa files
.It Fl m Ar metadata
Lookup metadata files in directory
.Pa metadata
.El
.Sh SEE ALSO
.Xr marisa 1
.Sh AUTHOR
.An Willy Goiffon Aq Mt dev@z3bra.org
.Pp
"Borrowed" by
.An Izuru Yakumo Aq Mt eternal-servant@yakumo.dev