Twitter http://twitter.com/rafanonas/
Blog (not set)
Website (not set)

1 score

Deletes orphan vim undo files

 $ find . -type f -iname '*.un~' | while read UNDOFILE ; do FILE=$( echo "$UNDOFILE" | sed -r -e 's/.un~$//' -e 's&/\.([^/]*)&/\1&' ) ; [[ -e "$FILE" ]] || rm "$UNDOFILE" ; done

Sept. 2, 2014, 6:51 p.m.rafaeln