X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=scripts.git;a=blobdiff_plain;f=trash.sh;h=550b57429f24dd57b8aed10f8c800468d511f265;hp=30faa3a6c1abd65045ef8a3dd92cd661ce2e91b3;hb=4ec5d5f4a0a407340f44e06e5b187053782a0470;hpb=0ac08580d5068bc343f757be0a6f8b2d8e370233 diff --git a/trash.sh b/trash.sh index 30faa3a..550b574 100755 --- a/trash.sh +++ b/trash.sh @@ -22,7 +22,7 @@ set -e # Move things to a newly created trash directory in /tmp/. Re-use an # existing one if it is less than 5min old. -TRASH=$(find /tmp/ -maxdepth 1 -mmin -5 -type d -name "trash*" | sort | tail -1) +TRASH=$(find /tmp/ -maxdepth 1 -mmin -15 -type d -name "trash*" | sort | tail -1) if [[ ${TRASH} ]]; then echo "Re-use ${TRASH}"