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