
At times it is advantageous to move files as opposed to renaming them. Renaming always preserves the original folder structure and simply changes names. Regardless as to how many files are in a renamed folder, they always remain together. Moves, however, can put different files in different folders, creating the folders if required.
While rename templates can be directly accessed in the UI, moves can only be performed by an action. The Create Move Action Wizard is accessed from the Actions menu or in Settings - Rename. Select a single rename template to use with the Move action and click on the Action button.
The current incarnation of the wizard will allow the creation of actions to perform virtually any type of move or copy that you want to make. The created actions can optionally be run in immediate mode and via the Batch Processor. Further the created actions are designed to be safe to be called from other actions.
The wizard will step you through the process. Based on your choices a move action will be created. The action which gets generated depends on the supplied rename template and your responses to the questions which are presented.
The created action uses the ❨Folder Start❩ tokens in the associated rename template to determine the folder structure to be created. If the template contains ❨Folder Start❩ tokens, the destination folder will be relative to each audio file's containing folder unless you supply an absolute base path.
If a folder has a path of /Volumes/Music/artist1/album1/file.mp3 and the rename template has two Folder Start tokens, the destination path will be:
/Volumes/Music/../../ ❨Folder Start❩ 2/ ❨Folder Start❩ 1
If you supply a base path, the destination path will be:
supplied path/ ❨Folder Start❩ 2/ ❨Folder Start❩ 1
Remember that ❨Folder Start❩ tokens in rename templates are applied right to left in a path.
If the rename template does not have any ❨Folder Start❩ tokens and you do not select a destination path, Audio files will not be moved but they may be renamed.
If the rename template has any ❨Ignore if Empty❩ tokens, the wizard will only allow moves to a base path. Relative moves will be disabled as the number of path components can only be made at runtime.
The rename template can also contain any valid rename token, including the ❨Alpha❩ token if you want to create an index type structure to quickly find items in the Finder.
The rename template handles all transformations and the entire path construction with the exception of the optional fixed destination path.
It is a good idea to handle duplicates in the rename template. Use ❨IfDup❩ and ❨Dup #❩ tokens. The wizard will warn you if these tokens are not supplied, as if they are not, Keep Both is not a valid runtime choice for file already exists situations.
The created action has a grouping of Move. The action will appear on the File>Rename>Actions submenu making it easy to access. If you select the created action in the Action Manager and hit the spacebar, the configuration summary will be displayed.
The wizard will also let you create actions which copy files as opposed to moving them.
If you are moving files which are contained in an Apple App's library, you can cause the created action to ensure that the files are linked. Whenever a linked file is moved, Yate will update its location in the appropriate Apple App.
The wizard's display panel can be resized and the font size can be adjusted via Font>Bigger and Font>Smaller.
The wizard provides descriptive text for each question as it proceeds. The following is summary of the questions/choices:
Note that the created action will not be updated if the original rename template is modified. However, if the number of ❨Folder Start❩ tokens is modified, the action will detect it and will not run. The action also checks for changes to the ❨IfDup❩ and ❨Dup #❩ tokens.
The produced actions may safely be called from other actions. In fact multiple produced actions can be called when batch processing, if desired.
For any information that must persist, the produced actions use named variables with a suffix of the action's name. All other named variables are transitory.
All special named variables and application settings are restored after each call to one of the produced actions.
All transient named variables used by the action start with the word move following by a space.
The actions use various track variables, depending on the code which was generated. The track variables are not restored. If you want to preserve track variables use Save and Restore Variables statements before calling the move action.
If you are calling a produced action from another and it is to be run in the batch processor, the produced action should be placed on the Batch Chain. The action will function correctly if you do not do so, however if a prompt has to be issued for a runtime path, it will be done during the batch processor's Batch Start phase as opposed to when the action eventually is executed.
If you generated a wrapper action it will handle the batch chain if required. For a generated action named My Move, an unmodified generated wrapper action named Wrapper for My Move could look like:
Version 1.0 - Generated on date by Yate version Version 1.0 - Generated on 2026-02-11 16:47:53 by Yate v9.0 ' Insert pre move/copy statements here Run action 'xxx' ' Insert post move/copy statements here
Note that the Include Batch Chain statement would only be generated if My Move supports running in the Batch Processor.
There is an action bundle named Create Move Action Wizard Wrapper Snippets. You can download it from the web resources page or via Yate>Resource Actions Installer. The bundle contains actions which can be used as samples. Each of the supplied actions can be called from a produced wrapper action.