User Tools

Site Tools


action:Move_or_Rename_a_File

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
action:Move_or_Rename_a_File [2017/02/14 22:28]
peternlewis
action:Move_or_Rename_a_File [2017/02/14 22:47] (current)
peternlewis
Line 1: Line 1:
-====== Move or Rename Action ====== +~~REDIRECT>​action: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 +
- +
-{{:action:move-rename-action-km-7.3.png?​nolink|}} +
- +
---- +
- +
-===== 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 +
-  *[[action:​Copy a File|Copy a File]] — copies a file or folder. You must specify a name and location for the copy. +
-  *[[action:​Delete a File|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. +
-  *[[action:​Duplicate a File|Duplicate a File]] — duplicates a file within the same folder and adds // copy// to the filename. +
-  *[[action:​Move or Rename a File|Move or Rename a File]] — moves or renames a file or folder. +
-  *[[action:​Reveal a File|Reveal a File]] — brings the Finder to the front with the file or folder selected. +
-  *[[action:​Trash a File|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 === +
- +
-* [[action:​Append Text to a File|Append Text to a File]] +
-* [[action:​Read a File|Read a File]] +
-* [[action:​Write to a File|Write to a File]] +
-* [[action:​New Folder|New Folder]] +
-* [[:​Actions|See all Actions]] +
- +
----- +
- +
-==== Forum ==== +
- +
-* [[https://​forum.keyboardmaestro.com/​t/​backup-to-usb/​3132/​7|Backup to usb]] +
-* [[https://​forum.keyboardmaestro.com/​t/​move-or-rename/​4518/​3|Move or Rename]] +
- +
-* [[https://​www.google.fr/​search?​q=site:​forum.keyboardmaestro.com+Rename+File|Keyboard Maestro Forum topics about Rename a File action]] +
-* [[https://​www.google.fr/​search?​q=site:​forum.keyboardmaestro.com+Trash+File|Keyboard Maestro Forum topics about Trash File action]] +
- +
---- +
- +
-**Keywords: ** Create Folder, Move to Trash, Copy File, Copy Folder, Duplicate File, Reveal File, Reveal Folder, Move File, Move Folder +
action/Move_or_Rename_a_File.1487129318.txt.gz · Last modified: 2017/02/14 22:28 by peternlewis