From 8104ba36a75c76d2b2b27eb55cbd6baed5e3d1a9 Mon Sep 17 00:00:00 2001 From: Nicolas Ventura Date: Tue, 6 Feb 2024 15:46:13 -0800 Subject: [PATCH] mv is quiet --- run | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/run b/run index 0cd298e..e05d4b2 100755 --- a/run +++ b/run @@ -81,16 +81,17 @@ done if "${force_cmd}" ; then shopt -s dotglob nullglob backup_dir='.backup' - mkdir -v "${backup_dir}" || exit 1 + mkdir "${backup_dir}" || exit 1 echo "Moving files to ${backup_dir}..." - mv -v ./* "./${backup_dir}/" + mv ./* "./${backup_dir}/" cd "${backup_dir}" || exit 1 - mv -v .git run .. + mv .git run .. cd .. npx -y @grafana/create-plugin@latest dir_name="$(ls -d ./[A-Za-z]*/)" cd "${dir_name}" || exit 1 - mv -v ./* .. + echo "Moving files from ${dir_name}..." + mv ./* .. cd .. echo 'Removing files...' rm -vr "${dir_name}"