diff --git a/datamover/source/java/ch/systemsx/cisd/datamover/filesystem/FileSysOperationsFactory.java b/datamover/source/java/ch/systemsx/cisd/datamover/filesystem/FileSysOperationsFactory.java index 56bce1ebb149faad7f157e55667f960cc753d362..146c7aa0330bb2b3d7b07913b26d3d2438cdc484 100644 --- a/datamover/source/java/ch/systemsx/cisd/datamover/filesystem/FileSysOperationsFactory.java +++ b/datamover/source/java/ch/systemsx/cisd/datamover/filesystem/FileSysOperationsFactory.java @@ -25,6 +25,7 @@ import ch.systemsx.cisd.common.filesystem.IPathCopier; import ch.systemsx.cisd.common.filesystem.rsync.RsyncCopier; import ch.systemsx.cisd.common.utilities.IDirectoryImmutableCopier; import ch.systemsx.cisd.common.utilities.OSUtilities; +import ch.systemsx.cisd.common.utilities.RsyncBasedRecursiveHardLinkMaker; import ch.systemsx.cisd.datamover.filesystem.intf.IFileSysOperationsFactory; import ch.systemsx.cisd.datamover.filesystem.intf.IPathMover; import ch.systemsx.cisd.datamover.filesystem.intf.IPathRemover; @@ -80,7 +81,7 @@ public class FileSysOperationsFactory implements IFileSysOperationsFactory public final IDirectoryImmutableCopier getImmutableCopier() { final File rsyncExecutable = findRsyncExecutable(); - return new RsyncCopier(rsyncExecutable); + return new RsyncBasedRecursiveHardLinkMaker(rsyncExecutable); } public final IPathCopier getCopier(final boolean requiresDeletionBeforeCreation)