User Tools

Site Tools


action:File_Actions

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
Next revision Both sides next revision
action:File_Actions [2018/08/01 01:03]
JMichaelTX [File Actions]
action:File_Actions [2021/10/12 00:31]
peternlewis [File Actions]
Line 3: Line 3:
 This Action is actually a multipurpose Action that provides the following Options: This Action is actually a multipurpose Action that provides the following Options:
 (Most Options can be used with either a File or Folder, except as indicated.) (Most Options can be used with either a File or Folder, except as indicated.)
 +  * Reveal in Finder
 +  * Create Unique File
   * Move (and/or Rename)   * Move (and/or Rename)
   * Copy   * Copy
Line 8: Line 10:
   * Move to Trash   * Move to Trash
   * Delete File (permanently)   * Delete File (permanently)
-  * Reveal in Finder 
   * Delete Directory (permanently)   * Delete Directory (permanently)
  
-{{:action:move-rename-action-km-7.3.png?​nolink|}}+{{move-rename-action.png?​nolink|}}
  
----+Delete File is obviously dangerous, and Delete Directory is extremely dangerous. Ensure you have full system backups before using this action. 
 + 
 +Create Unique File will create a new unique file based on the path you supply, adjusting the basename to something unique, and returning the new file path in the specified variable. 
 + 
 +===== See Also ===== 
 + 
 +=== Actions === 
 + 
 +* [[:​Actions|See all Actions]] 
 + 
 +=== Tokens === 
 + 
 +* [[:Tokens |See all Tokens]]
  
 ===== How To Use ===== ===== How To Use =====
Line 26: Line 39:
  
 ^ Option ^ Description ^ ^ Option ^ Description ^
-^ Copy | copies a file or folder. You must specify a name and location for the copy. |+^ Copy | copies a file or folder. You must specify a name and location for the copy.\\ Since this requires a destination for the copy, if you want to just copy the file to the Clipboard, see [MACRO: ​  ​Choose File and Copy It [Example]](https://​forum.keyboardmaestro.com/​t/​choose-file-and-copy-it-example-macro-v9-0-2/​15581) ​|
 ^ Delete | 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. | ^ Delete | 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 | duplicates a file within the same folder and adds // copy// to the filename. | ^ Duplicate | duplicates a file within the same folder and adds // copy// to the filename. |
Line 33: Line 46:
 ^ Trash | moves a file or folder to the Trash from where it can easily be recovered. | ^ Trash | 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. | ^ Delete Directory | Be **extremely careful** with this action as it deletes the folder and all its contents with no warnings or confirmation messages. |
- 
---- 
- 
  
 ==== Move and/or Rename ==== ==== Move and/or Rename ====
Line 56: Line 66:
  
 ===== See Also ===== ===== See Also =====
- 
----- 
  
 === Actions === === Actions ===
Line 66: Line 74:
 * [[action:​New Folder|New Folder]] * [[action:​New Folder|New Folder]]
 * [[:​Actions|See all Actions]] * [[:​Actions|See all Actions]]
- 
----- 
  
 ==== Forum ==== ==== Forum ====
Line 76: Line 82:
 * [[https://​forum.keyboardmaestro.com/​search?​q=Rename%20File|Topics about Rename a File action]] * [[https://​forum.keyboardmaestro.com/​search?​q=Rename%20File|Topics about Rename a File action]]
 * [[https://​forum.keyboardmaestro.com/​search?​q=Trash%20File|Topics about Trash File action]] * [[https://​forum.keyboardmaestro.com/​search?​q=Trash%20File|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 **Keywords: ** Create Folder, Move to Trash, Copy File, Copy Folder, Duplicate File, Reveal File, Reveal Folder, Move File, Move Folder
action/File_Actions.txt · Last modified: 2024/01/29 03:38 by peternlewis