User Tools

Site Tools


action:File_Actions

**This is an old revision of the document!**

File Actions

This Action is actually a multipurpose Action that provides the following actions: (All actions can be used with either a File or Folder)

  • Move (and/or Rename)
  • Copy
  • Duplicate
  • Move to Trash
  • Delete (permanently)
  • Reveal in Finder


How To Use

You can either insert the main Action (shown above), and then choose the actual action to use in the dropdown, OR, insert one of the preconfigured Actions from the Action panel/menu:

FIXME JMichaelTX: Insert Action panel screen shot here.

Click the File Chooser button on the right of an action to select an existing file or folder on disk. Option-click on the File Chooser button to show the currently selected file or folder in the Finder (assuming it exists already).

The actions

  • Copy a File — copies a file or folder. You must specify a name and location for the copy.
  • Delete a File — deletes a file (but not a folder) with no warnings or confirmation messages. The file is deleted and not moved to the Trash. Be careful with this action.
  • Duplicate a File — duplicates a file within the same folder and adds copy to the filename.
  • Move or Rename a File — moves or renames a file or folder.
  • Reveal a File — brings the Finder to the front with the file or folder selected.
  • Trash a File — moves a file or folder to the Trash from where it can easily be recovered.
  • Delete Directory. Be extremely careful with this action as it deletes the folder and all its contents with no warnings or confirmation messages.

Move or Rename lets you either move a file to a new location, or rename it in the same location, or move it to a new location with a new name. If you wish to just move a file, specify an existing folder as the destination of the move. If you wish to rename a file, specify the new name as the destination, either by itself, or with a full path that is in the same folder as the source location. If you wish to move and rename a file, specify the full path of the destination, including the new name of the file in its new location.

Note: The source path must be an absolute path (or a path relative to home ~). The destination path must either be a simple single path component (no ~ or /) or an absolute path. If it is a simple path component, then it is relative to the parent directory of the source path. As mentioned above, this is particularly useful in the Move or Rename action, as you can, for example, rename from ~/Folder/Old Name to New Name.

See Also


Actions

Forum


Keywords: Create Folder, Move to Trash, Copy File, Copy Folder, Duplicate File, Reveal File, Reveal Folder, Move File, Move Folder

action/File_Actions.1487130517.txt.gz · Last modified: 2017/02/14 22:48 by peternlewis