search for: test_regular

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

2002 Apr 02
2
rsync 2.3.2 with --copy-unsafe-links work badly
...ad S?zavou pobo?ka Olomouck? 355, Hlubo?ky-Mari?nsk? ?dol? tel: +420 68 5353548, fax: +420 68 5352364 http://hlubocky.del.cz -------------- next part -------------- #!/bin/sh function test_symlink () { if [ ! -L $1 ]; then 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/f...