diff options
author | kaa <kaa@disroot.org> | 2024-08-10 01:41:58 -0700 |
---|---|---|
committer | kaa <kaa@disroot.org> | 2024-08-10 01:41:58 -0700 |
commit | 1d1e425b07bbb7ae04f9c7db269c359ebcdab246 (patch) | |
tree | a23e7b7e604abf236da7b6aae3e876b0edc84bf4 /del.rc |
Diffstat (limited to 'del.rc')
-rwxr-xr-x | del.rc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 + } +} |