You could use find
:
touch -t 201302010000 /tmp/a
find ~/directory \( -iname \*.jpg -o -iname \*.png \) -Bnewer /tmp/a \
-exec mv {} ~/directory2 \;
touch -t
normally changes only the modification and access times, but it also changes the creation time if the target time is before the original creation time or when you are creating a new file.
-Bnewer
(for birth time / creation time) is not supported by GNU/Linux platforms which don't have metadata for the creation time.
The parentheses are needed because -a
(and concatenating expressions without -a
) has higher precedence than -o
.