12 lines
166 B
Plaintext
12 lines
166 B
Plaintext
|
#!/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
|