Tools and things that make my life easier - y'all might like them too
recentdownloads
Find recently downloaded files. The script makes use of the find
Unix utility to find files that have been modified in a time frame.
Syntax: recentdownloads [-v] [FLOAT(s|m|h|d)?]
| Option | Description | Default |
| —— | ———– | ——- |
| -v
| Enable verbose debugging | Debugging is not enabled |
The optional operand specifies the beginning of the time frame.
s
is used, the number is interpreted as seconds.m
is used, the number is interpreted as minutes.h
is used, the number is interpreted as hours.d
is used, the number is interpreted as days.$ recentdownloads # nothing in the past 24 hours
$ recentdownloads 14 # let's try the last 2 weeks
/home/mrbruno/downloads/rhett & link - gmm in 90 seconds.mp4
/home/mrbruno/downloads/zoom_amd64.deb
/home/mrbruno/downloads/Photos-20190209T195208Z-001.zip
/home/mrbruno/downloads/slack-desktop-3.3.7-amd64.deb
$ touch -t 300001010000 ~/downloads/foobar # create a file in the future
$ recentdownloads # the `future file` is found
/home/mrbruno/downloads/foobar
$
${HOME}/downloads
is searched${USERPROFILE}/downloads
is searched