From 1d1e425b07bbb7ae04f9c7db269c359ebcdab246 Mon Sep 17 00:00:00 2001 From: kaa Date: Sat, 10 Aug 2024 01:41:58 -0700 Subject: Public release. --- del.rc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 del.rc (limited to 'del.rc') diff --git a/del.rc b/del.rc new file mode 100755 index 0000000..6d05801 --- /dev/null +++ b/del.rc @@ -0,0 +1,8 @@ +#!/usr/local/plan9/bin/rc + +sed -e 's/ is a duplicate.$//' | while (file = `{read}) { + if (test -f $"file) { + echo rm $"file >> /mnt/mem/log + rm $"file + } +} -- cgit v1.2.3