aboutsummaryrefslogtreecommitdiff
path: root/docs/ssync-reapr.1
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2025-12-26 21:05:24 -0500
committerSteph Enders <steph@senders.io>2025-12-30 11:51:37 -0500
commit725180192e51be7c4408cd5de45fb0688f792216 (patch)
tree8fe2ff1162bbaa4b57ac05a8f6a2fab06ead540a /docs/ssync-reapr.1
parent519e2e01392e6db171937c4fc707345634fb5236 (diff)
Create ssync-reapr to clean up ssync run files
ssync-reapr will delete the run files pushed to the ssync output dir (default ~/.local/share/ssync/runs/) which can accumulate over time. The default is to only delete files older than a day. We run the reap as the first step of every ssync - to ensure it clears out the necessary files
Diffstat (limited to 'docs/ssync-reapr.1')
-rw-r--r--docs/ssync-reapr.137
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/ssync-reapr.1 b/docs/ssync-reapr.1
new file mode 100644
index 0000000..99f36ab
--- /dev/null
+++ b/docs/ssync-reapr.1
@@ -0,0 +1,37 @@
+.TH ssync-reapr 1 {RELEASE}
+.SH NAME
+ssync-reapr \- reap temporary and run files created by other ssync commands
+.SH SYNOPSIS
+.B ssync-reapr
+.RB [option...]
+.IR DIRS...
+.YS
+.SH OPTIONS
+.TP
+.BR \-a " seconds"
+Reap files created more than the configured seconds ago. This will help clear out temporary files created by the
+.MR ssync-index 1
+and
+.MR ssync-queue 1
+commands.
+.TP
+.BR \-n " dry-run"
+Dry run the reaping process - only prints the files; doesn't delete.
+.TP
+.BR \-v " verbose logging"
+Use -vv to increase the verbose level. 2+ will print the files being reaped.
+.TP
+.BR \-h " print this message"
+.SH SEE ALSO
+.MR ssync 1
+.MR ssync 5
+.MR ssync-queue 1
+.MR ssync-fetch 1
+.SH REPOSITORY
+.UR https://git.senders.io/utils/ssync
+.UE
+.SH AUTHORS
+Steph Enders
+.MT steph@senders.io
+.ME
+ssync-reapr is open source licensed under the ISC license. See LICENSE for full copyright information.