Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 6, 2013, 09:58 AM   #1
punktilend
macrumors newbie
 
Join Date: Jul 2008
Automator to find and move videos with different codecs

Hello,

I have been digging around to find a way to use automator with Final Cut Pro X. Once I have exported/shared a file to a folder from FCX I have it open a Automator application that moves the video file to another location. My problem is that I export different codecs and I need the different codecs to go to different locations. Does anyone know of a way to have automator choose a file by its codec?
punktilend is offline   0 Reply With Quote
Old Jun 6, 2013, 01:48 PM   #2
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
Take a look at the mdls and mdfind commands in Terminal.

Quote:
NAME
mdls -- lists the metadata attributes for the specified file

NAME
mdfind -- finds files matching a given query

EXAMPLES

This returns all files that contain "MyFavoriteAuthor" in the kMDItemAuthor meta-
data attribute:

mdfind "kMDItemAuthor == '*MyFavoriteAuthor*'"
In Automator use the Find Finder Items action.

Note : Tested on Leopard.
Attached Thumbnails
Click image for larger version

Name:	Picture 2.png
Views:	24
Size:	96.8 KB
ID:	415567   Click image for larger version

Name:	Picture 1.png
Views:	38
Size:	290.5 KB
ID:	415568  
__________________
Space Corps Directive 34124
kryten2 is offline   0 Reply With Quote
Old Jun 6, 2013, 01:54 PM   #3
punktilend
Thread Starter
macrumors newbie
 
Join Date: Jul 2008
Much appreciation

Thanks for replying with this, helps me out a lot.
punktilend is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Tags
automator, codec, final cut pro x

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:55 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC