From 98299335dade1c479aa203edd777a755f90457f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Thu, 11 Apr 2024 17:26:36 +0200 Subject: [PATCH] move backup directories up one hierarchy so it doesn't end up in the Git directory --- backup_am_github_repos_and_issues.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup_am_github_repos_and_issues.sh b/backup_am_github_repos_and_issues.sh index d527b0a..a0ced57 100644 --- a/backup_am_github_repos_and_issues.sh +++ b/backup_am_github_repos_and_issues.sh @@ -14,7 +14,7 @@ min_issue_count=1672 # as of 2024-04-02 fails=() # set of failed commands # backup github repos -mkdir -p ./${local_repo_dir} +mkdir -p ../${local_repo_dir} pushd ${local_repo_dir} || exit 1 until [ ${page} -gt ${maxpage} ]; do for org in ${orgnames}; do @@ -42,7 +42,7 @@ done popd || exit 1 # backup github issues -mkdir -p ./${local_issue_dir} +mkdir -p ../${local_issue_dir} pushd ${local_issue_dir} || exit 1 for n in {1..100000}; do url="${issue_base_url}${n}.html" -- GitLab