Commit 23d58f4b authored by Vitaly Lipatov's avatar Vitaly Lipatov

add compare script for gluster

parent 6956cac7
#!/bin/sh
if [ "$1" != "--internal" ] ; then
[ -n "$1" ] || exit
find $1 -type f -print0 | xargs -0 $0 --internal
exit
fi
shift
echo "check $(dirname "$1") ..."
for f in "$@" ; do
TP="/var/ftp/$f"
test -e "$TP" || echo "$f"
done | tee -a $0.log
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment