small improvement to wv

This commit is contained in:
Alexander Bocken 2020-12-26 14:05:28 +01:00
parent d3399dd1a8
commit 55b1d4e914
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -1,6 +1,6 @@
#!/bin/sh
alldata="/tmp/allfiles"
videos="/tmp/videos"
alldata="/tmp/allfiles$$"
videos="/tmp/videos$$"
du -a ~/vids/* --time | awk '!($1="")' | sort -bgr | awk '!($1="")' | awk '!($1="")' | sed 's/^ //' > $alldata
touch $videos
while read -r line; do