Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

punktilend

macrumors newbie
Original poster
Jul 10, 2008
24
0
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?
 

kryten2

macrumors 65816
Mar 17, 2012
1,114
99
Belgium
Take a look at the mdls and mdfind commands in Terminal.

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.
 

Attachments

  • Picture 2.png
    Picture 2.png
    96.8 KB · Views: 121
  • Picture 1.png
    Picture 1.png
    290.5 KB · Views: 147
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.