Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
support/mapfrom
@@ -0,0
+1,5
@@
+#!/usr/bin/perl
+while (<>) {
+ push @_, "$2:$1" if /^(\w+):[^:]+:(\d+)/;
+}
+print join(',', @_), "\n";