Create Folder

With this node you can create a new folder.

It has the following configuration options:

  • Create new folder inside this folder: here you can specify the folder to create the new folder in. Select the pencil to open Expression Builder.
  • Folder to create: here you can specify the path of the folder to create inside the specified folder. This path should always end with a slash (/). You can specify a path with multiple sub-folders. If the requested folder already exists, no action will take place. Select the pencil to open Expression Builder.
  • Create folders (in "inside" folder): if you select this checkbox, the folders that are specified in the parameter field Create new folder inside this folder are created before the folder that is specified in the parameter field Folder to create is created. This options prevents that the node will fail if you try to create a folder inside a folder that does not exist.
  • Unique name mode: here you can control the naming of the copied folder. Options:
    • None: if you select this option, the same name as the input folder will be used.
    • Sequential: the specified name will be used if the default copied folder does not exist. However, if it does exist, the system will try to add 1 to the folder name, and check if that folder exists. If it does not exist, the updated folder name is used. If it does exist, 2 is tried, etc...
    • Random: the specified name will be used if the default copied folder does not exist. However, if it does exist, the system will try to add a random suffix to the folder name, and check if that folder exists. If it does not exist, the updated folder name is used. If it does exist, a new random suffix is tried, etc... Use this mode if you just want a unique name (for example for a temporary folder) and you don't care about the actual name.
    • Sequential+Always: the same as Sequential but it always appends a number, even if the default copied folder does not exist.
    • Random+Always: f you select this option, the naming will follow the same rules as when the Random option is selected, but it always appends a suffix, even if the default copied folder does not exist.