stem and suffix columns for insert-files, closes #372

This commit is contained in:
Simon Willison 2022-01-09 12:16:52 -08:00
commit c9ecd0d6a3
3 changed files with 20 additions and 4 deletions

View file

@ -1141,6 +1141,10 @@ The full list of column definitions you can use is as follows:
The creation time is an ISO timestamp
``size``
The integer size of the file in bytes
``stem``
The filename without the extension - for ``file.txt.gz`` this would be ``file.txt``
``extension``
The file extension - for ``file.txt.gz`` this would be ``.gz``
You can insert data piped from standard input like this::