AMApplicationBuild 444.39 AMApplicationVersion 2.9 AMDocumentVersion 2 actions action AMAccepts Container List Optional Types com.apple.cocoa.string AMActionVersion 2.0.3 AMApplication Automator AMParameterProperties COMMAND_STRING CheckedForUserDefaultShell inputMethod shell source AMProvides Container List Types com.apple.cocoa.string ActionBundlePath /System/Library/Automator/Run Shell Script.action ActionName Run Shell Script ActionParameters COMMAND_STRING # Configuration CONFIG_OUTPUT="$HOME/Media" # Log Files CONFIG_LOG="$CONFIG_OUTPUT/.log/amc.log" CONFIG_EXCLUDES="$CONFIG_OUTPUT/.log/amc.excludes" # Execute FileBot /usr/local/bin/filebot -script fn:amc "$@" --output "$CONFIG_OUTPUT" --action duplicate --conflict index -non-strict --log-file "$CONFIG_LOG" --def excludeList="$CONFIG_EXCLUDES" unsorted=y music=y artwork=y -exec open -R {f} + # Display log file on error if [ $? -ne 0 ]; then open "$CONFIG_LOG" fi CheckedForUserDefaultShell inputMethod 1 shell /bin/bash source BundleIdentifier com.apple.RunShellScript CFBundleVersion 2.0.3 CanShowSelectedItemsWhenRun CanShowWhenRun Category AMCategoryUtilities Class Name RunShellScriptAction InputUUID 4B174346-E79E-4CE7-935F-CA9CDE31C14A Keywords Shell Script Command Run Unix OutputUUID 8614ED71-4AE2-4100-AF52-8823F524F717 UUID DDB67D63-695A-43E5-BA5F-A7ADE38A8E46 UnlocalizedApplications Automator arguments 0 default value 0 name inputMethod required 0 type 0 uuid 0 1 default value name source required 0 type 0 uuid 1 2 default value name CheckedForUserDefaultShell required 0 type 0 uuid 2 3 default value name COMMAND_STRING required 0 type 0 uuid 3 4 default value /bin/sh name shell required 0 type 0 uuid 4 conversionLabel 0 isViewVisible location 769.000000:709.000000 nibPath /System/Library/Automator/Run Shell Script.action/Contents/Resources/Base.lproj/main.nib isViewVisible connectors workflowMetaData folderActionFolderPath ~/Downloads workflowTypeIdentifier com.apple.Automator.folderAction