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 [2021/10/12 00:41]
peternlewis [Move and/or Rename]
action:File_Actions [2023/06/20 06:53]
peternlewis [Move and/or Rename]
Line 36: Line 36:
 ==== Move and/or Rename ==== ==== Move and/or Rename ====
  
-This Action Option can be confusing because although the Option popup shows only _Move_, it in fact **allows you to do three different things, based solely ​on the data you supply in the _to_ field**.  In all cases, the _Source Item Path_ field must be the _full path_ to the source Finder item (file or folder) that is being acted upon.  To add further confusion, the Action Title remains constant at "Move or Rename"​ regardless of the actual operation to be performed.+The option ​_Move_ allows you to do three different things, based on the data you supply in the _to_ field. ​ In all cases, the _Source Item Path_ field must be the _full path_ to the source Finder item (file or folder) that is being acted upon.
  
-=== Operations Available ===+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.
  
-^ Operation ^ Description ^ To Field ^ Example ^ +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.
-^ Move _Only_ | Moves the Item to Different Folder, and keeps the same Item Name | Full Path to the existing Destination _Folder_ | ~/​Documents/​SomeFolder | +
-^ Rename _only_ | Renames the Item, which stays in its original Folder | Can be either just the _new_ Item Name (including extension, if any)\\ OR Can be the full path to the item with its _new_ name. | Some New File Name.txt | +
-^ Move _and_ Rename | Moves the Item to a Different Folder ​with a _new_ name | Must be the _Full Path_ to the Item,  with its _new_ Item name and existing Destination Folder. | ~/​Documents/​SomeFolder/​Some New File Name.txt |+
  
 === Overwrite Existing File(s) === === Overwrite Existing File(s) ===
action/File_Actions.txt · Last modified: 2024/01/29 03:38 by peternlewis