From c32274b7f353ffa8a583f4b7056d86ad312fb67a Mon Sep 17 00:00:00 2001 From: Carl William Pearson Date: Wed, 1 Sep 2021 15:26:05 -0600 Subject: [PATCH] . --- .gitignore | 2 ++ copy.sh | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 .gitignore create mode 100644 copy.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3d69f13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.mtx +*.tar.gz \ No newline at end of file diff --git a/copy.sh b/copy.sh new file mode 100644 index 0000000..ee0bac8 --- /dev/null +++ b/copy.sh @@ -0,0 +1,7 @@ +while read url; do + name=`echo $url | rev | cut -f1 -d'/' | rev` + name=${name%.tar.gz} + # echo $name + cp -v /vscratch1/cwpears/${name}.mtx ~/suitesparse/. || \ + cp -v /vscratch1/cwpears/**/${name}.mtx ~/suitesparse/. +done < suitesparse-reals-regular.txt \ No newline at end of file