search for: setupcorrectoutput

Displaying 1 result from an estimated 1 matches for "setupcorrectoutput".

2005 Feb 27
0
[Bug 2395] New: problems copying from a dir that includes a symlink in the path
...-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*) mkdir -p dest${x}/s case $x in *L*) cp -p ../source/dir/file dest${x}/s/file cp -p ../source/dir/file dest${x}/s/symlink ;;...