Support this site
-
Recent Posts
Recent Comments
Archives
Meta
Spam Blocked
Monthly Archives: July 2012
arduino pachube.com / cosm.com multiple data sources howto
CSV Parser Error: CSV is invalid. Incorrect number of fields. I am playing with my arduino at the moment, datalogging to cosm.com (formerly pachube.com). I had issues with the csv line, it should be of the format: label1,value1\n label2,value2\n label3,value3 … Continue reading
Posted in Uncategorized
3 Comments
bash convert resize and numerically rename multiple files
As an addendum to my previous post today I needed to resize and rename a directory of images at the bash prompt. A nice little one liner did it for me: i=0; for f in *JPG; do a=my_new_filename_`printf “%04d” $i`.jpg; … Continue reading
Posted in Uncategorized
Leave a comment
bash change filename and use sequential numbers
Today I took a large number of photographs on my camera and needed to renumber them as well as rename them in linux. Here is how I did it, and I hope you find it useful. My filenames are of … Continue reading
Posted in Uncategorized
Leave a comment
