Displaying 1 result from an estimated 1 matches for "setupsourc".
Did you mean:
setupsource
2005 Feb 27
0
[Bug 2395] New: problems copying from a dir that includes a symlink in the path
...d script demonstrates what I mean.
Basically, if you try to
rsync a/b .
were a is a symlink, it doesn't work as expected given various combinations of
-R, -l, and -L options.
#!/bin/zsh
# rsync problems with copying from a dir that includes a symlink in the path
# 2005-02-27 Dave@Yost.com
setupSource() {
rm -rf source/dir source/symlink
mkdir -p source/dir
ln -s dir source/s
ln -s referent source/dir/s
echo nothing > source/dir/file
}
setupCorrectOutput() {
rm -rf correct-output
mkdir correct-output
cd correct-output
for x in ${opts[@]}
do
mkdir dest${x}
case $x in
*R*...