Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoVery clever...lemmy.mlimagemessage-square64fedilinkarrow-up1115arrow-down12file-text
arrow-up1113arrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square64fedilinkfile-text
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up2·edit-211 months agoTricky question, but I think I have a solution: :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID
Tricky question, but I think I have a solution: