From 6c5328595fe26ac95ab860787428c0fc42a006bb Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 28 Nov 2019 02:23:39 +0100 Subject: [PATCH] Add example for mass-deletion. --- man/remwharead.1.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/man/remwharead.1.adoc b/man/remwharead.1.adoc index 2d42c93..96c43d3 100644 --- a/man/remwharead.1.adoc +++ b/man/remwharead.1.adoc @@ -123,6 +123,21 @@ remwharead -e=rss -T=$(date -d "-1 week" -I),$(date -Iminutes) | sed 's|| ---- ==== +.Remove all entries that are tagged with mountain +==== +[source,shell] +---- +OLDIFS=${IFS} +IFS=$'\n' + +for uri in $(remwharead -e link -s mountain); do + remwharead -d "${uri}" +done + +IFS=${OLDIFS} +---- +==== + === Display database *remwharead* does not provide an interface to display the database. However, you