fi
target_dir="${basedir}"$(echo "${tag}" | cut -c5-)"/cur/"
for f in $(notmuch search --output=files tag:"${tag}"); do
fi
target_dir="${basedir}"$(echo "${tag}" | cut -c5-)"/cur/"
for f in $(notmuch search --output=files tag:"${tag}"); do
if [ ! "${target_path}" = "${f}" ]; then
echo "Moving ${f} to ${target_path}."
mv "${f}" "${target_path}"
if [ ! "${target_path}" = "${f}" ]; then
echo "Moving ${f} to ${target_path}."
mv "${f}" "${target_path}"