- or download this
my %opt = @_;
- or download this
( -d "$opt{ dir }/$_" ) # is a directory
- or download this
&& !/^\./ # is also not hidden/special
- or download this
&& /(\d{4}_\d{2}_\d{2}_\d{2})/
# contains date/hour
- or download this
&& ($opt{ now } gt $1 ) # that is in the past