dirac-dms-directory-sync

Provides basic rsync functionality for DIRAC

Syncs the source destination folder recursivly into the target destination

If option –sync is used contend that is not in the source directory but is only in the target directory will be deleted.

Usage:

dirac-dms-directory-sync Source Destination

e.g.: Download
  dirac-dms-directory-sync LFN Path
or Upload
  dirac-dms-directory-sync Path LFN SE

Options:

-D  --sync                   : Make target directory identical to source
-j  --parallel <value>       : Multithreaded download and upload

Arguments:

LFN:           Logical File Name (Path to directory)
Path:          Local path to the file (Path to directory)
SE:            DIRAC Storage Element