Category Archives: linux

Using awk to sum rows of numbers

I have a script which takes a tab-delmited file for regression tests, and converts it xml. I want to do a sanity check, to make sure that the number of utterances in my xml files matches the number in the tab-delimited.txt file. I can do this in 2 lines in UNIX robert_felty$ wc -l samples2.txt […]

Posted in bash, linux, UNIX | Comments Off on Using awk to sum rows of numbers

Vetting vignetting

We recently got some family portraits taken at JCPenney. I think they turned out very nicely. They had a bunch of different effects that they could apply. While we were at the studio, I really liked the way that the vignetting effect brought out our faces. However, after investigating the full set (we bought the […]

Posted in linux, photography | 2 Comments

UNIX/Linux permissions and groups – getent

I keep forgetting this command, so I writing it here so I know where to find it. Getent will list information about users and groups on a UNIX/Linux system, including NIS and LDAP users, which is crucial networks with multiple nodes. For example to list information about a user named robert_felty, you can do: $ […]

Posted in linux | Comments Off on UNIX/Linux permissions and groups – getent

Editing video from a Canon FS100 with Kino and ffmpeg

Last Christmas my parents got me a Canon FS100 video camera. I had asked for a video camera to take videos of my son. I honed my video editing skills a bit before he arrived, but am still working on it. The camera uses flash memory, and records videos in .mod files, which are basically […]

Posted in linux | Tagged , | 2 Comments

Reading iptc captions from jpegs with imagemagick

Rob and Spencer with zebras Once again I found myself needing to use imagemagick to do something, and was overwhelmed by the many options. After much fiddling around, I found out some options that worked for me. In this case, I wanted to extract iptc captions from images, so that I could then insert the […]

Posted in linux, photography, wordpress | Tagged , , , , | 1 Comment