Compare commits

..

No commits in common. "b834f6e76a6fa82e045d43f8dd6201773c815247" and "c23635a8538ac712a7c7f75c6f338787bfb9dea1" have entirely different histories.

2 changed files with 0 additions and 27 deletions

View File

@ -1,11 +0,0 @@
#!/bin/sh
temp=$(mktemp)
ls > $temp
nvim "$temp"
different=$(ls | cat "$temp" - | sort | uniq -u)
rm $different
for i in $different; do
printf "rm %i\n" "$i"
done

View File

@ -1,16 +0,0 @@
#!/bin/sh
temp=$(mktemp)
ls > $temp
nvim $temp
results=$(ls | paste -d'|' - $temp)
IFS="
"
for i in $results; do
before="${i%%|*}"
after="${i#*|}"
[ "$before" != "$after" ] && mv "$before" "$after"
printf "%s -> %s\n" "$before" "$after"
done