{"id":7972,"date":"2004-09-28T17:01:59","date_gmt":"2004-09-28T15:01:59","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/28\/dump_photos\/"},"modified":"2005-04-26T01:58:11","modified_gmt":"2005-04-25T22:58:11","slug":"dump_photos","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/28\/dump_photos\/","title":{"rendered":"dump_photos"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>I am using dump_photos.pl script to copy (or move) images from my Canon EOS 300D to my computer.  Canon&#8217;s in-camera filesystem is not very convenient to copy files manually, because images are distributed across a number of folders (100 images per folder thing).  Canon original software is for Windows only and is way too complicated and slow for such an easy task.<\/p>\n<p>My script uses standard Perl modules (Getopt::Long, File::Copy, and POSIX) to copy or move files to specified or default (date-based) directory.  It also mounts the Compact Flash before processing images, and umounts it after everything is done.  It also uses <a href=\"http:\/\/www.sentex.net\/~mwandel\/jhead\/\">jhead<\/a> to optionally rotate images based on the information in EXIF header.<\/p>\n<p>Run &#8220;dump_photos.pl &#8211;help&#8221; for a list of options.  Although it was tested only with my Digital Rebel, I think it should work fine with most of Canon cameras.<\/p>\n<p><a href =\"\/wordpress\/wp-content\/20040928-dump_photos.perl\">dump_photos.pl<\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>I am using dump_photos.pl script to copy (or move) images from my Canon EOS 300D to my computer. Canon&#8217;s in-camera filesystem is not very convenient to copy files manually, because images are distributed across a number of folders (100 images per folder thing). Canon original software is for Windows only and is way too complicated &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/28\/dump_photos\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">dump_photos<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,30,18,62],"tags":[36,39],"keyring_services":[],"class_list":["post-7972","post","type-post","status-publish","format-standard","hentry","category-general","category-photography","category-programming","category-technology","tag-perl","tag-software"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":9592,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/10\/20\/synchronizing-directories-with-perl-and-ssh\/","url_meta":{"origin":7972,"position":0},"title":"Synchronizing directories with Perl and SSH","author":"Leonid Mamchenkov","date":"October 20, 2005","format":false,"excerpt":"For a while now I have been using ICQ both at home and at work. Instead of having two different copies of data or running ICQ remotely, I was simply copying all data files over between these two locations. rsync with scp were doing the job just fine. The problem\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7981,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/30\/timestamp_image\/","url_meta":{"origin":7972,"position":1},"title":"timestamp_image","author":"Leonid Mamchenkov","date":"September 30, 2004","format":false,"excerpt":"This is yet another script to deal with images from digital cameras. It will scale (resize preserving the width to height ratio) down the image to the size you've specified and annotate (write on top of the image) it with date time taken from EXIF header of the image. Font\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9269,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/07\/25\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":7972,"position":2},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"July 25, 2005","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2005-07-25 Slashdot | Why I Hate the Apache Web Server Tagged as: apache computers funny humor presentations slashdot software technology web Military signaling -- copy-paste the address. doesn't work with referrer Tagged as: fun funny humor images military Slashdot | Top 10 Web\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9078,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/15\/telling-gnu-arch-the-truth\/","url_meta":{"origin":7972,"position":3},"title":"Telling Gnu Arch the truth","author":"Leonid Mamchenkov","date":"June 15, 2005","format":false,"excerpt":"Yet another problem (and solution) that I've stumbled across while using Gnu Arch. We have two branches in our archive: program--vendor--0.1 and program--local--0.1. Vendor's version has all the source files in SomeDirectory, while our local version has all source files in somedir. Except for the name and few local changes,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9073,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/14\/sending-bulk-html-emails-with-perl\/","url_meta":{"origin":7972,"position":4},"title":"Sending bulk HTML emails with perl","author":"Leonid Mamchenkov","date":"June 14, 2005","format":false,"excerpt":"First of all, I have to warn you that using HTML in emails is almost always inappropriate. Use plain text. If you have to send HTML, than send it as an attachment. For those cases, where HTML message has to be sent and there is no choice in the matter,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9198,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/07\/06\/analysis-of-two-perl-lines\/","url_meta":{"origin":7972,"position":5},"title":"Analysis of two perl lines","author":"Leonid Mamchenkov","date":"July 6, 2005","format":false,"excerpt":"Today I saw these two lines in one backup script that was written in perl: my $d = (localtime())[6]; $d = $d=~\/[067]\/ ? 0 : $d % 2 + 1; Does this look cryptic to you? Probably not. But I wanted to write something and thought that these two lines\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=7972"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7972\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7972"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}