Interior-Photography

Coding: Ruby File Rename Script

I started working part-time for Hallway 2 Marketing last year, photographing homes for real estate. I take the photos then rush home to start the edit process.

blog b1.jpg

Before the photos can be uploaded to HAR, they need to be a specific file name to make searches easier on the perspective home buyer. So I wrote a program to help me streamline at least part of my process.

I wrote a Ruby program to rename files by stripping off the first 8 characters of the existing file name. As I edit real estate photos, I name them like the following: DSC_XXXX Street – Living Room.jpg – the program basically loops through 30+ files stripping off the DSC_XXXX making the file name “Street – Living Room.jpg”

The Ruby Script

blog b2.jpg

The files before the script

b3.png

Script execution

b4.png

The result…files ready to upload to HAR

b5.png

This is the first code I’ve written since I quit being a developer in 2011. The process has sparked my interest in coding again…at least for fun. LOL

I am Rhonda Tipton and I am a photographer residing in the Houston area. My work includes a wide range of subjects such as portraiture, events and fine art; however, I feel my purpose on this Earth is to tell the stories of those without a voice through my pet, animal shelter and rescue photography.

Tipton Creative
IG @rhondatipton – @sheltershutterbug –  @tiptoncreative — @rhondatiptonbw
FB @RhondaTipton – @tiptoncreative – @TiptonCreativeShelterPhotos
Twitter – Flickr – Youtube

Interior Photography - Kitchens

Kitchen size and arrangement plays a pretty major factor in the decision to buy a home. Below are some of the different kitchens I have photographed since I began working for Hallway 2 Marketing

Granite counters, tile floors and gas ranges are among the most popular features with home buyers.