Using Automator to Add Metadata from Folder Structure

I have a huge set of .wav files organized in a folder structure like this:
Artist->Album->Song
I am trying to write an Automator workflow to import each song into iTunes whilst adding Artist and Album metadata.  I can get the workflow to work for a single artist with a single nested album, but multiple nested albums result in Artist and Album tags which are concatenated versions of all the artist and album names.  This is my workflow:
I'm using variables to store the artist name and album name.  Somehow, when this gets to "Set Info of iTunes Songs", the artist and album info gets concatenated.  Any ideas much appreciated.  Thank you.

oh, i can do all those things with the batch mode in iPhoto but I would like to integrate these steps in a longer Automator workflow - i.e. not having to open iPhoto and do it manually...

Similar Messages

  • Use Automator to move files and folder structure to another folder, retaining destination contents

    I have been struggling trying to setup Automator to move files and folder structure to another folder, retaining the destination contents.  Basically, I need to add files at the destination, within the same folder structure that exists at the source.  Here's some details about the scenario:
    -I have PDF files that I create on a seperate computer than I my daily use machine
    -For security reasons, the source computer doesn't have access to any shares on the destination computer
    -The destination computer has access to shares on the source computer
    -I want to delete the original PDFs at the source after they are moved or copied
    I haven't been able to get Automator to move or copy the folder contents (files and subfolders) without dropping everything copied at the top level of the destination, resulting in many duplicate folders and a broken folder structure.
    So far I've only had luck getting this to work at the command line, but I'd really like to have this setup in Automator so that I could have either a service or application that I could use for any folder, prompting for the source and destination folders.  I'm a relatively new Mac user with limited Linux experience, so this is the command that I've cobbled together and currently accomplishes what I'm looking for:
    ditto /Volumes/SMB_Temp/SOURCE ~/Desktop/Documents/DESTINATION
    cd /Volumes/SMB_Temp/SOURCE
    find . -type f -name "*.pdf" -exec rm -f {} \;
    Thanks for any ideas!

    If you have a command-line syntax that works, why not just create an Automator workflow with a single 'Utilities -> Run Shell Script' action, where that action has your (working) shell commands?
    Seems way, way simpler to me than trying to reinvent the wheel and transcribe shell commands into individual Automator actions

  • Assign specific metadata for folder structures in the Content Server

    Assign specific metadata for folder structures in the Content Server
    Hi to all,
    I working with Oracle Content Server 10g and Desktop Integration Suite and I will like to know how can I restrict or enable some specific metadatas from the default metadata, for differents content folder. This is different from the function: Information Field Inherit Configuration.
    tnks!

    I am a bit unclear about your question:
    - do you ask about metadata assigned to folders, or
    - do you ask about metadata assigned to items in folders?
    Starting from #2, if you forget about folders, there is standard functionality that you can use to restrict, enable, ... metadata for an item. Read this chapter: http://docs.oracle.com/cd/E21764_01/doc.1111/e10978/c04_metadata.htm#sthref288 to get full details.
    I am not sure whether you can use anything of this functionality (profiles, option lists, etc.) when you check in a new folder. I doubt it, though. The logic of folders is slightly different - whilst e.g. profiles correspond to "content item", you don't find such a correspondence in folder's hierarchy (why a folder could not contain various content types, for instance?)
    Last question is, from where you want to use this functionality - even for items. In 10g, Desktop Integration Suite's functionality was rather limited (often it was supposed that a user will just 'throw' an item to a folder, and metadata will be inherited from folders). You might have to upgrade your DIS to 11g; it should work even with 10g Content Server, but make sure you verify it before mass upgrade. In 11g, DIS should offer profiles, etc. with full capabilities.

  • Aperture Import Panel - Missing field list for "add metadata from" presets

    I have MacBookPro using OSX 10.5.6 and Aperture 2.1.2.
    Prior to Aperture & Leopard upgrades when I imported images I had presets for basic import data (copywrite, byline, caption etc) and the list would show up on the lower right side of the import screen.
    Now, although I can select a "preset list" from the "Add Metadata from" pick list nothing happens. There are no fields listed to append data to.
    Not sure what is causing this but it makes adding import impossible to add any metadata.
    Any suggestions. I have searched the support posts and find nothing like this solved.
    Appreciate any ideas.
    Cheers,
    Mark

    I was able to solve the problem by deleting the com.apple.aperture.plist file
    First I made note of all my preferences, then I deleted the file. Closed Aperture and then re-booted the MacBookPro.
    Once I rebooted and relaunched Aperture, reset preferences and closed Aperture and then restarted Aperture and now the Import panel is back to normal with the appropriate lists showing for the "add metadata from" presets.
    Hopefully this will help others.

  • Add Metadata from fields are missing...

    Hi there,
    I'm new to Aperture and am working through a lesson book. I'm working on Aperture 2.1.3 3H12. When I try to import some images, and I click Add Metadata from, I don't get any fields to add data to. All I see on my screen is:
    Add Metadata From: IPTC - Expanded
    X Append Replace
    That's not, there are no scroll bars, and no fields to input data into. Directly beneath is the Cancel and Import All button...
    The sample in my book shows a huge list of fields to add data to...
    Any help is greatly appreciated.
    BTW, the book is Aperture 2, part of the Apple Pro Training Series, not that it matters.
    -Paul

    Yes it is a problem with the 13" screen on the MBP. I can stretch the Aperture prior to clicking on Import and can see the Metadata. When I move the Aperture screen to my 20" secondary monitor, it's not an issue. So for sure it's the 13" screen...
    If I hide the dock as well, it's workable...

  • Watch folders and meta from folder structure?

    Hi,
    New to XMP, but I'm looking to impliment a DAM across a marketing department split into two teams - remote but on the same network.
    We have c70gb of av material from the last 15 years.
    1. Is it possible to "watch" a network folders for new / edited files?
    2. Can metadata be collected from the existing folder structure? I.e, for the last 15 years descriptive folder names have been used in an attempt to organise things - ergo these folder names include project names etc. Is it possible to pull these folder names out, and put them into keywords in the meta?

    Hi, Thanks for the reply.I have 2 shared folders set up - 1 for each user and have given permission for each user to have full access to their own personal folder.There are our family photos on the public folders and each user has placed their own files/photos/videos etc in their personal folder.User 1 is using WDMycloud on an android phone - can see their own private folder and the public folder.  All the photos are in the shared folder.  All the private documents are in User 1 folder.When using the app, User 1 can go to 'Public' and see the public photos, but:When selecting 'View by date' some of the thumbnails that are on the folder are from user 1s secure folder. When user 1 opens the folder, they can see public photos in the thumbnails.  However, some thumbnails are displaying images from the private folder and when they click on these, they open up an image in from the public folder.When selecting ' view by album, only 1 folder appears (in this case the folder created in the private folder for backing up images from camera)When selecting 'View all photos' only a specific group of photos from a folder on the public pictures opens.User 2 is using WDMyphoto (I think) on ios. User 2 is able to see thumbnails and images from user 1s private folder. I have tried several things to stop this happening - setting up each private folder as accessible by only the named user.Checking user permissions to ensure they have no access to each other's folders in both 'user' and 'shares' settings. I have restarted the WDMycloud and devices connecting to it, but am still having these problems.  I will try to rebuild the database to see if that is any use. Any further advice would be much appreciated! I am becoming increasingly frustrated with this and am thinking about just removing the private information from the drive, but having secure access to personal information was one of the reasons I purchased this in the forst place!

  • Add songs from folder

    I would like to add songs from a folder into itunes but itunes takes a max. of 5 songs and not more. The whole folder is possible but i want a part of it. Please be so kind and help me. Thank you very much.
    Toshiba   Windows XP Pro  
    Toshiba   Windows XP Pro  

    You can use windows explorer to select the songs you want added, then drag and drop them to itunes, they should add

  • How do I bulk upload documents using PowerShell and extract metadata from file name?

    I have a requirement to upload a bunch of documents into a document library. Based on the content type, the rules of updating the metadata is different...the one giving me trouble is to extract the metadata from the file name. If I have a file name like
    "part1_part2_part3.pdf" how do I extract part1, part2, part3 and tag each document being uploaded into SharePoint, using PowerShell? I have searched and have not been able to find anything to get me started.
    Has anyone done this before? Or is there a blog I can take a look at? Thanks
     

    You will have to write a PS script encompassing this logic.
    Read files from the folder using
    Get-Item cmdlet
    Determine the content type based on the path or filename.
    Split the file name to extract the tag names.
    If the metadata fields in the content type is a managed metadata field, check whether the term exists and set it.
    Updating SharePoint Managed Metadata Columns
    with PowerShell
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Making Backup using Save As with Assets - changes folder structure

    After saving a concert that contained 7 songs in the set - as a backup to a different external disk, I noticed something. When Mainstage creates the backup, it removes all the files (.wav, .caf, etc.) that were imported into 'Playback' instances from their respective folder structures, and dumps them all into one big folder.
    I like organizing backing tracks for each song into folders. I often go back in to my original Logic tracks and tweak tracks - then want to re-import them. So, the folder structure makes it easier to manage the files.
    I know - the newly created structure on the new disk does work fine... but if I start working on that drive, and want to back it up to the original drive - I've got a situation where I'll have duplicate files created by Mainstage... leaving the original files that were linked to the original concert as orphans... just taking up space.
    I'm going to write to Apple's feedback for Mainstage and ask that the original folder structure be respected (as an option) when saving a concert with its assets to a new location. But, in the meantime, I felt that I needed to vent about this un-Applelike behavior.
    Anybody else annoyed by this?

    No, PS only uses the simplified file dialogs. There is no way to change that.
    Mylenium

  • How can I use Automator to extract information from the body of an email sent from a web form.. and the import it into Highrise?

    I'm assuming that Automator is the way to go. I've never used it before but from research it seems to be the way to go. Also, I'm not good at programming at all.
    Here's a typical email...
    From:      [email protected]
         Subject:      Enquiry for Property ID: 408777039, 2 Grey Avenue, Manningham, SA 5086, Listing Agent
         Date:      18 September 2013 8:33:51 PM ACST
         To:      Joe Jope
         Reply-To:   [email protected]
    You have received a new lead from realestate.com.au for
    Property id: 408587036
    Property address: 2 Grey Avenue, Manningham, SA 5086
    Property URL: www.realestate.com.au/404387039
    User Details:
    Name: John Bon Jovi
    Email: [email protected]
    Phone: 0422645633
    I would like to: buy this house
    Comments: Please give me a call.
    I have several hundred of these emails and I want to extract the information and then save it into my CRM which is Highrise (https://highrisehq.com). If it's too difficult to get it directly into Highrise then I'm aslo happy to extract the info into excel and the import into Highrise. However I do not want to have to run through that proceedure for every single email.
    I'd really like some help on how to get Automator to do this for me. Or if not Automator.. any other suggestions?
    Thanks.
    John

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • Using automator to change image from pct to tif

    Problem: want to grab frames from an MP4 movie and save them in a format usable by other applications.
    I've written an applescript action in automator to grab and save frames at regularly occurring intervals. QT 7 pro does the grabbing and saving.
    The difficulty is that the images are pct files. I need to send them through PDFlib which doesn't understand this format. Just about any other format would work: PDF, PNG, TIFF, etc.
    Automator has an Action named "Change Type of Images" associated with Preview. Unfortunately, Preview in 10.6 can't open can't open PICTs in 64 bit mode. In Automator, the Change Type action simply fails to do anything w/o complaint.
    I also tried using the CS 3 Automator Action Pack from Complete Digital. But the action pack doesn't seem to include a Save As action.
    (Side question: in fact, I don't see Save As or a Save action in Automator at all. How would one create and Save a TextEdit document?)
    Looks like I'm falling through the cracks here. Anyone have any suggestions??

    jeffrey Berger wrote:
    Problem: want to grab frames from an MP4 movie and save them in a format usable by other applications.
    I've written an applescript action in automator to grab and save frames at regularly occurring intervals. QT 7 pro does the grabbing and saving.
    The difficulty is that the images are pct files. I need to send them through PDFlib which doesn't understand this format. Just about any other format would work: PDF, PNG, TIFF, etc.
    Automator has an Action named "Change Type of Images" associated with Preview. Unfortunately, Preview in 10.6 can't open can't open PICTs in 64 bit mode.
    yes, but it will do so if you run Preview in 32 bit mode. check the box in it's get info panel to open in 32-bit mode and it will open .pct files.
    In Automator, the Change Type action simply fails to do anything w/o complaint.
    I also tried using the CS 3 Automator Action Pack from Complete Digital. But the action pack doesn't seem to include a Save As action.
    (Side question: in fact, I don't see Save As or a Save action in Automator at all. How would one create and Save a TextEdit document?)
    Looks like I'm falling through the cracks here. Anyone have any suggestions??
    another option is to use the terminal "convert" command. It's part of ImageMagic suite and I have it on my system. However, I'm not sure if it's a part of a regular OS X install or one my 3rd party programs installed it. i definitely didn't install it myself.
    the usage is very simple
    convert /path/to/file.pct /path/to/outputfile.jpg
    just add a "run shell script" action to your flow to run the command. this avoids any 64-bit issues.

  • Using automator to add songs to an .mp3 player

    I'm using a non-iPod .mp3 player. iTunes recognizes it as a "device" and I am able to add/remove songs manually in iTunes. It can only play select .mp3 files so I have created a "smart playlist" in iTunes that only contains the files my player can play. I have over 20GB of music, most of which is from a friend and is unfamiliar to me. I've been using shuffle to randomly select songs to put on there, but it takes time and effort to manually select the files, delete them from the player, and add new ones. I want to automate it so that random .mp3's are added to the player whenever i connect the device and iTunes is open.

    Thanks for that tip.
    I found what the problem was (kind of) ...
    When I tried to delete the songs that shouldn't be there, the delete function wouldn't work. When I pressed the button for "delete file", instead of deleting the file, it would take me to the first song which I didn't want to delete.
    What I did in the end was:
    * I chose the first song (which was meant to be there).
    * I chose "Delete everything" ---> This time the delete function worked properly and the disk was wiped empty.
    * I then added all the songs I wanted individually again to the mp3 player.
    * I checked the mp3 player after adding the desired songs --- all the undesired songs had disappeared (unlike last time when they were still on the mp3 player even after I had removed them using the hard drive of my computer to open the mp3 player and delete the songs).
    The problem was that the delete function didn't work properly when I was trying to delete the undesired songs (that weren't meant to be there as I had taken them to the Trash on my hard drive).
    I might try your suggestion next time. I presume you mean empty the Trash on my mac. My mp3 player doesn't have a Trash folder (not that I can see anyway).

  • Re: Use PowerShell to Find Metadata from Photograph Files

    Hi,
    Just read the new blog and thought i'd try it.
    I got as far as setting and calling the $picMetaData for a folder. It didn't list anything when i just has a TIF file in there but when i created a jpg version of the same file it listed the details of both. Tried deleting the jpg and back to no listing.
    Apologies if i'm missing something as a Powershell lightweight
    It might be worth mentioning that the original file was a georeferenced TIF but if it is relevant, it seems odd that it returned a listing when the jpeg version was present.
    Apologies also for asking this on the blog - i realise i should have come here first.
    Andy

    Here is a version that works for one folder and produces consistent CSV files.  It only enumerates the first 66 tags but that covers 99% of all tags.
    You have to understand that each folder will have different metadata.  Thi is determined by the folder contents.  When we ask for GetDetailsOf the folder object the shell scans the files and merges all metadata into the results.  If we scan
    a different folder we will not likely find data names that match.  Much of this is determined by the providers that are installed to the shell.
    The code will also list all files and not just image files.  We could put in a filter using Get-ChildItem.
    Here is the code: http://sdrv.ms/1gQr1B8
    ¯\_(ツ)_/¯

  • Use automator to send document from pages directly in outlook

    send an email from pages directly in Outlook  Even though Outlook is selected as the default reader, Mail opens to send a document directly out of Pages.  Is it possible to set up a service in Automator to use Outlook instread of Mail? Or is there another solution?

    What version of Palm desktop do you have? Go to help - about in Palm desktop for the version number.
    Is there a media conduit in your version of Palm desktop? If so, have you tried using that conduit?
    Click on the following link to the kb.palm.com webpage for the article regarding copying Copying, deleting, sending and beaming files and applications on an SD/MMC expansion card
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=10102
    Click on the following link for the support page for your device on the kb.palm.com webpage.
    http://www.palm.com/us/support/centro/centro_att/
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.
    Post relates to: Palm i705

  • Using Automator to change metadata in iphoto

    Hi,
    I've read about difficulties with Automator and iPhoto, however I was hoping there is some way to automate these things.
    Noticing this thread: http://discussions.apple.com/thread.jspa?messageID=700185&#700185
    I do hope there is some way to change the metadata of photos stored in iPhoto - specifically I want to change the name of photos (sequentially) and want to add comments in a workflow.
    I'd greatly appreciate any help!
    Thanx in advance

    oh, i can do all those things with the batch mode in iPhoto but I would like to integrate these steps in a longer Automator workflow - i.e. not having to open iPhoto and do it manually...

Maybe you are looking for

  • Multiprocessing works for RAM preview, extremely slow and aeselflink crashes when in Render Queue

    Hello all, System specs: Hackintosh OSX 10.9 3.5Ghz (overclocked to 4.2Ghz) Core i7 Geforce GTX 580 classified 3GB Cuda GPU AMD Radeon HD 6870 1GB Display GPU 32 GB of RAM System SSD 5 drive internal RAID After Effects CC 12.2.1.5 Cuda drivers up to

  • Memory leak playing podcasts in iTunes 11.2, Windows 8.1 x64

    I've already uninstalled and reinstalled iTunes 11.2 64 bit. When I play a podcast it plays for a few minutes then iTunes freezes.  Watching it in task manager its obvious there's a memory leak.  Memory climbs steadily until about 1.6Gb when it dies.

  • Clicking (and selecting) the same JList item twice

    I have a JList with items (Strings) which should be added to another String when selected (clicked on). My problem is that when a user clicks twice on the same item it should be added to the result String twice. But a ListSelectionListener acts only

  • Problems installing Oracle 11G on Windows XP

    Hi, I'm getting the message [INS-20802] Oracle Net Configuration Assistent failed. Cause - The plug-in failed in its perform method. The loopback is installed. Any idea about this error? Thanks, Pini

  • TextArea Clipping in Air 3.9 on iOS7

    I hope someone can help here as this is driving me crazy I am using the TextArea mobile component for Flex (yes, I know that it is Apache now, but someone on here hopefully can help!) and using it in the most vanilla way, but whatever I do I get clip