can't check for presence of remote dirs; commented
authorFred Hamster <fred@gruntose.com>
Sun, 20 Nov 2022 15:45:31 +0000 (10:45 -0500)
committerFred Hamster <fred@gruntose.com>
Sun, 20 Nov 2022 15:45:31 +0000 (10:45 -0500)
scripts/customize/fred/scripts/games/save_f76_pics.sh

index 01c5ecf450a78274123bb08efcf4a1c82ec9f249..aa2ab505f9ae5a3ca1c71692fd2268fb580d74a0 100644 (file)
@@ -17,20 +17,20 @@ else
   exit 1
 fi
 
-src_dir="fred@orpheus:data/wind_goods/My Games/Fallout 76/Photos/${identity}"
+src_dir="fred@orpheus:./data/wind_goods/My Games/Fallout 76/Photos/${identity}"
 dest_dir="fred@curie:/z/walrus/media/pictures/metaverse/fallout_76/${character}"
 
 #echo "src is: '$src_dir'"
 #echo "dest is: '$dest_dir'"
 
-if [ ! -d "$src_dir" ]; then
-  echo "Could not find the source directory: $src_dir"
-  exit 1
-fi
-if [ ! -d "$dest_dir" ]; then
-  echo "Could not find the destination directory: $dest_dir"
-  exit 1
-fi
+#if [ ! -d "$src_dir" ]; then
+#  echo "Could not find the source directory: $src_dir"
+#  exit 1
+#fi
+#if [ ! -d "$dest_dir" ]; then
+#  echo "Could not find the destination directory: $dest_dir"
+#  exit 1
+#fi
 
 netcp "$src_dir"/*[0-9].png "$dest_dir"/