3 ms·
In marcel: M 0.12.7 jao@cheese ~$ import datetime datetime M 0.12.7 jao@cheese ~$ ls | select (f: f.mtime > datetime(2021, 1, 1).timestamp()) | grep py
by geophile 6y ago
In marcel:
M 0.12.7 jao@cheese ~$ import datetime datetime
M 0.12.7 jao@cheese ~$ ls | select (f: f.mtime > datetime(2021, 1, 1).timestamp()) | grep py
.marcel.py
.python_history
ls is builtin (and has -la behavior by default), select is provided by marcel, and grep is from the host OS. Note that the python function datetime.datetime is imported so that it can be used in the select predicate.