summaryrefslogtreecommitdiff
path: root/bin/rcup
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-07-12 23:38:19 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2013-07-12 23:44:16 +0200
commit3adcb218cbb42026bc0ef906b219f0e1888220cd (patch)
tree33a459b9749bc4cfa44712345c1e1be560b7cce9 /bin/rcup
parentc5ae3e947a891975a2f8edee5a8349a2f46e45b9 (diff)
Hide duplicates
With multiple source directories it is possible to have duplicates. Consider these source directories, `a` and `b`: |-- a | |-- bar | `-- foo `-- b |-- baz `-- foo The goal is to have this: .bar -> a/bar .baz -> b/baz .foo -> a/foo Note the duplcate `foo` file. We now handle this, in `lsrc` and therefore in `rcup`. We do this by storing a `:`-separated string of destination files (e.g. `.foo`) and `grep`ing that string before we operate on any destination.
Diffstat (limited to 'bin/rcup')
0 files changed, 0 insertions, 0 deletions