Introduce multi-commands command line utilities.
[lgpl/argeo-commons.git] / org.argeo.jcr / src / org / argeo / fs / FsUtils.java
index 6fc7bd25dd7470a32bb2f040c02840d2e157b9f2..c96f56ed26818dae6fc2f2e3f792326bb802c502 100644 (file)
@@ -16,7 +16,7 @@ public class FsUtils {
 
        /** Sync a source path with a target path. */
        public static void sync(Path sourceBasePath, Path targetBasePath, boolean delete) {
-               sync(new BasicSyncFileVisitor(sourceBasePath, targetBasePath, delete));
+               sync(new BasicSyncFileVisitor(sourceBasePath, targetBasePath, delete, true));
        }
 
        public static void sync(BasicSyncFileVisitor syncFileVisitor) {