NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replaced "/cygdrive/c/Users/JaneDoe" with "/NCI/JaneDoe" after discussion with Udit.

...

Panel
borderColor#C0C0C0
borderStylesolid
Expand
titleExample

The following command copies the contents (folders and files) of the JaneDoe folder in the local system to the Project_New collection in DME. (The command does not copy the JaneDoe folder itself.) 

Panel
borderColorsilver
borderStylesolid
Clipboard
AllowLineWraptrue

dm_register_directory -i include.txt -e exclude.txt /cygdrive/c/UsersNCI/JaneDoe /Example_Archive/PI_Lab1/Project_New

The example command specifies the following include file:

Code Block
**/images/**
**/data/**

All of the paths in the include file are relative to the source folder, as specified in the command. This file includes the following files:

  • All files in an images folder in the source folder (and subfolders).
  • All files in a data folder in the source folder (and subfolders). 

The example command specifies the following exclude file:

Code Block
**.metadata.json
**/log/**
*.properties

All of the paths in the exclude file are relative to the source folder, as specified in the command. This file excludes the following files:

  • All files in the source folder (and subfolders) with filenames that end in .metadata.json.
  • All files in any log folder in the source folder (and subfolders). 
  • All files in the source folder with filenames that end in .properties.