Optimize copydl
This commit is contained in:
parent
c6a9e361e3
commit
c56d92ea4f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ copydl() {
|
||||||
dlFileCount=$1
|
dlFileCount=$1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
lastdlFiles=$(ls -tp ~/Downloads | grep -v /$ | head -$dlFileCount)
|
lastdlFiles=$(ls -1tp ~/Downloads | head -$dlFileCount)
|
||||||
|
|
||||||
if [ $# -eq 1 ]
|
if [ $# -eq 1 ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue