Local - for operations on driver node file system DBFS - for operations on Databricks file system S3 - for operations on S3 object store
True
Operation
Operation to perform, Copy, Move or Sync
True
Filename Regex
Regex to Filter File Names Eg: stdlog.*.txt
False
Ignore empty files
Ignore if file size is empty (Size of file is 0 bytes)
False
Recurse
Boolean for performing Operation recursively. Default is False
False
Source Path
Path of source file/directory. Eg: /dbfs/source_file.txt, dbfs:/source_file.txt, s3://source_bucket/source_prefix/filename.txt
True
Destination Path
Path of destination file/directory. Eg: /dbfs/target_file.txt, dbfs:/target_file.txt, s3://target_bucket/target_prefix/filename.txt
True
You can perform operations on DBFS files using Local file system too by providing path under
/dbfs! This is because Databricks uses a FUSE mount to provide local access to the files stored
in the cloud. A FUSE mount is a secure, virtual filesystem.