Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates file copying between directories with BlindCopy and CopyByDestinationFiles modes for dataset management efficiency.
The DataSet_CopyFiles
node is designed to facilitate the copying of files from one directory to another, providing a streamlined and efficient way to manage file transfers within your dataset workflows. This node offers two distinct modes of operation: BlindCopy
and CopyByDestinationFiles
, allowing you to either copy all files blindly or selectively copy files based on the presence of corresponding files in the destination directory. This flexibility makes it a valuable tool for AI artists who need to organize and manage large sets of files, ensuring that their datasets are consistently structured and up-to-date.
This parameter specifies the path to the directory containing the files you want to copy. It is a string input where you need to provide the full path to the source directory. The function of this parameter is to identify the location of the files that will be copied. There are no minimum or maximum values, but it must be a valid directory path. The default value is "directory path".
This parameter specifies the path to the directory where the files will be copied to. Similar to the source_folder
, it is a string input where you need to provide the full path to the destination directory. This parameter determines where the copied files will be stored. There are no minimum or maximum values, but it must be a valid directory path. The default value is "directory path".
This parameter determines the mode of copying files. It offers two options: BlindCopy
and CopyByDestinationFiles
. BlindCopy
will copy all files from the source directory to the destination directory without any checks. CopyByDestinationFiles
will only copy files from the source directory if a corresponding file (with the same base name) exists in the destination directory. This parameter is crucial for controlling the behavior of the file copying process. The default value is BlindCopy
.
This node does not produce any output parameters. Its primary function is to perform the file copying operation based on the specified input parameters.
source_folder
and destination_folder
paths are correctly specified and accessible to avoid any file not found errors.BlindCopy
mode when you need to copy all files from the source directory to the destination directory without any conditions.CopyByDestinationFiles
mode when you want to ensure that only files with corresponding names in the destination directory are copied, which can help in maintaining consistency between directories.source_folder
and destination_folder
paths are correct and accessible. Ensure that you have the necessary permissions to read from the source directory and write to the destination directory. Check for any typos or incorrect path specifications. If the problem persists, review the specific error message for more details and address the underlying issue accordingly.© Copyright 2024 RunComfy. All Rights Reserved.