add shebang and mass_delete
This commit is contained in:
parent
5f17ccf995
commit
b834f6e76a
|
@ -0,0 +1,11 @@
|
|||
#!/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
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
temp=$(mktemp)
|
||||
ls > $temp
|
||||
nvim $temp
|
||||
|
|
Loading…
Reference in New Issue