home · contact · privacy
Improve w530 bookworm setup.
[config] / bookworm / home_files / user / mail_sync.sh
index 7d96256fe9bb8a26075511b5a5b154f7bc15b92b..ffe6b4abdf1937aae830904fde93398fb709ad7c 100755 (executable)
@@ -22,11 +22,8 @@ for tag in $(notmuch search --output=tags '*'); do
     fi
     target_dir="${basedir}"$(echo "${tag}" | cut -c5-)"/cur/"
     for f in $(notmuch search --output=files tag:"${tag}"); do
-        echo DEBUG0 $f
          new_name=$(basename "${f}" | sed -e 's/,U=[0-9]*//')
-        echo DEBUG0 $new_name
          target_path="${target_dir}${new_name}"
-        echo DEBUG0 $target_path
          if [ ! "${target_path}" = "${f}" ]; then
              echo "Moving ${f} to ${target_path}."
              mv "${f}" "${target_path}"