Adding the --usermap/--groupmap/--chown options.
[rsync/rsync.git] / support / mapto
diff --git a/support/mapto b/support/mapto
new file mode 100644 (file)
index 0000000..8bafa10
--- /dev/null
@@ -0,0 +1,5 @@
+#!/usr/bin/perl
+while (<>) {
+    push @_, "$1:$2" if /^(\w+):[^:]+:(\d+)/;
+}
+print join(',', @_), "\n";