All Posts By

Mark

Plans for the Macs

By Techie 3 Comments

| apple-command |I have a few plans for the network at home. I want to get things automated and seemlessly easy to use. Here’s what i have in mind:

  • Wireless timemachine – Dedicated Partitioned HDD serving the mini itself on one partition and using the other to serve Macbook wirelessly
  • Automated Websites Backup – Mini to backup websites on an alternating bi-weekly basis
    • irishmark.net
    • oaktree.org.uk
    • ajguitars.co.uk
    • mediachill.com
    • Steve Macbeth
    • Ruth’s Blog
    • Test Site
    • portfolio site
    • photography site
    • Database backups
  • Media Backup – Relevant Drives to auto backup:
    • Photos
    • Music
    • Movies
    • Data
    • Projects
  • Phone Sync – Get automated actions to sync data and info on phone:
    • sync files when connected by USB
    • sync calender, numbers etc over bluetooth with proximity alert
  • Phone Backup – Back up media on phone(not including music)
    • add photos to iPhoto on Mini & do not duplicate
    • add movies to iMovie on Mini & wipe from phone
  • Media Server – Mini to act as a media server for Macbook.

Batch File Rename with Automator

By Photos, Techie One Comment

I’d been searching high and low all over the web for an application that would let me rename large amounts of files. With our timelape cameras producing Hundreds of thousands of files this is a real necessity at work. I was getting rather frustrated with not being able to find any “free” apps as i thought this was a really simple process but i couldn’t find any.
Then I had an epiphany!

WHY NOT USE AUTOMATOR!!!!

So i set myself the task of figuring out how to create a Finder Plug-In to do this and I did it – woo me! See the guide below to find out how to do it yourself:
This will create a plug-in that you will use on a folder in your finder.
1). Open up Automator and start a new workflow by selecting: File -> New

2). Select the “Custom” option and hit “Choose“.

3). Using the search box top left search for the term “Get Folder Contents”

4). Drag the result into the main window

5 ). Note the tick box” Repeat for each subfolder found”

6 ). Now do a search for “Rename Finder Items” and drag it in to the main window underneath the current “get folder contents” action. When you do so you will be asked a question by the system. It will suggest adding a “copy” action to the process. By default this is set to copy each file that is being processed to the desktop. This may be useful to you but for this demo i don’t need it so i selected “don’t add”

7 ).You should now have a window with two actions. The first action will look at the contents of the folder. The second action will rename the file as per your settings. There are several options to choose from but for this demo i am going to make them sequential:

8 ).This is where you set your action but you need not worry about getting this perfect. I’ve elected to give all my files an entirely new name that starts with Holidays_Christmas_09. You can see the rest of the settings in the image below. Its all pretty self explanatory

9 ). REALLY IMORTANT BIT!!!! The most important thing next is to select the options button along the bottom of the “Rename Finder Items” Action and then to select the “Show this actions when the workflow runs.” Without this this plug-in will rename all your clips with the same criteria.

10 ). When you think you are finished then you need to save this workflow as a plugin. Do this by selecting: File -> Save As Plug-In
Name the plugin something simple but easy to identify like “Finder Batch Re-Namer Plug-In” and select “Finder” from the drop down menu. That’s it done – Well done! Now you want to know how to use it don’t you!!! Its very simple.

11 ). “Ctrl+click” on the folder the files you want to rename are and select: More -> Automator -> Finder Batch Re-Namer Plug-In (or whatever you named it). This will begin the workflow and your options window will appear allowing you to change the settings to better suit your needs on any given occasion.


12 ).It’s always a good idea to double check your settings. You don’t want to end up renaming all your accounts files when you wanted to rename your photos. Always double check and if you are worried then you can always use the copy function in step 6.