This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
action:File_Actions [2024/01/29 03:38] peternlewis |
action:File_Actions [2024/11/10 01:42] (current) peternlewis [How To Use] |
||
---|---|---|---|
Line 32: | Line 32: | ||
^ 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) | | ^ 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) | | ||
^ 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. | | ||
- | ^ 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 (on remote volumes, the system may immediately delete the file) | |
^ Delete 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. | | ^ Delete 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. | | ||
^ 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. | | ||
Line 42: | Line 42: | ||
If you specify a folder in the _to_ field (eg `~/Documents/SomeFolder`), the file will be moved to the specified folder. | If you specify a folder in the _to_ field (eg `~/Documents/SomeFolder`), the file will be moved to the specified folder. | ||
- | If you specify a file name (without any slash `/`) (eg `NewName.jpg`), then file file will be renamed. | + | If you specify a file name (without any slash `/`) (eg `NewName.jpg`), then the file will be renamed. |
If you specify a full path to a new location with a new name (optionally the same name) (eg `~/Documents/SomeFolder/SomeName.jpg`), then the file will be moved and renamed. | If you specify a full path to a new location with a new name (optionally the same name) (eg `~/Documents/SomeFolder/SomeName.jpg`), then the file will be moved and renamed. |