Files
sloth/doc/examples.rst
2012-02-07 15:57:07 +01:00

15 lines
286 B
ReStructuredText

.. highlight:: python
========
Examples
========
Adding every nth image to label file
------------------------------------
This can be achieved by a combination of ``find`` and ``awk``::
find shot01/ -iname "*.png" | sort | awk 'NR%5==1' | xargs sloth appendfiles shot01.json