Commit c9cd08d5 authored by Dmitri Popov's avatar Dmitri Popov

replace rsync with cp

parent fc97b05d
......@@ -96,7 +96,14 @@ echo "Transferring files..."
echo "---------------------"
echo
rsync -avh --progress "$src" "$target"
results=$(find "$target" -type f -iname "*.JPG" -o -iname "*.ARW")
lines=$(echo -e $results | wc -l)
for line in $(seq 1 $lines)
do
file=$(echo -e "$results" | sed -n "$line p")
cp "$file" "$target"
done
cd "$target"
......@@ -117,8 +124,6 @@ if [ ! -z "$location" ]; then
fi
fi
results=$(find "$target" -type f -iname "*.JPG" -o -iname "*.ARW")
lines=$(echo -e $results | wc -l)
echo
echo "--------------"
echo "Geotagging ..."
......
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