Optimize copydl

This commit is contained in:
Leon Grünewald 2020-07-14 12:54:58 +02:00
parent c6a9e361e3
commit c56d92ea4f

View file

@ -32,7 +32,7 @@ copydl() {
dlFileCount=$1
fi
lastdlFiles=$(ls -tp ~/Downloads | grep -v /$ | head -$dlFileCount)
lastdlFiles=$(ls -1tp ~/Downloads | head -$dlFileCount)
if [ $# -eq 1 ]
then