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