Adding files or directories to data sets

Add a new file or directory (and its contents) to an unlocked data set. If the file or directory already exists in the data set, it will be replaced with a new copy. All individual files must be less than 2 GB (the entire data set can be larger than 2 GB; however each individual file must be less than 2 GB). If synchronization is enabled, the action completes once the repository server fully receives the file or directory from the command or API.

Procedure

Add files or directories by specifying the data set name and consumer path, or by the data set ID:
  • To add by specifying the data set name and consumer path, run:
    gridsync dataset addfile -d data_set_name -c consumer_path -s source_path
     [-D destination_relative_path]
  • To add by specifying the data set ID, run:
    gridsync dataset addfile -i data_set_ID -s source_path [-D destination_relative_path]