Displaying 1 result from an estimated 1 matches for "unsafefil".
Did you mean:
unsafefile
2002 Apr 02
2
rsync 2.3.2 with --copy-unsafe-links work badly
...echo "File $1 is not symlink or not exists";
fi;
};
function test_regular () {
if [ ! -f $1 ]; then
echo "File $1 is not regular file or not exists";
fi;
};
function test_copy () {
test_symlink dest/links/file1;
test_symlink dest/links/file2;
test_regular dest/links/unsafefile;
};
rm -rf src dest
mkdir -p src/safe
mkdir -p src/unsafe
mkdir src/safe/files
mkdir src/safe/links
touch src/safe/files/file1
touch src/safe/files/file2
touch src/unsafe/unsafefile
ln -s ../files/file1 src/safe/links/
ln -s ../files/file2 src/safe/links/
ln -s ../../unsafe/unsafefile src/saf...