From 8f9c706d90726d38a26a5c18a1b293f6a6fb19f5 Mon Sep 17 00:00:00 2001 From: Patrick Darley Date: Fri, 18 Sep 2015 13:26:09 +0000 Subject: Make archiving executeable --- archive_an_image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 archive_an_image.sh (limited to 'archive_an_image.sh') diff --git a/archive_an_image.sh b/archive_an_image.sh old mode 100644 new mode 100755 index aec6c60..7bfc71d --- a/archive_an_image.sh +++ b/archive_an_image.sh @@ -10,5 +10,5 @@ img_date=`date -r "$img_path" +"%y-%m-%d_%H%M"` archive_path="$archive_dir$img_date" mkdir -p "$archive_path" -# Move the img to the archive -mv "$img_path" "$archive_path" +# Move the img to the archive - Copy for now due to tlsa scripts +cp "$img_path" "$archive_path" -- cgit v1.2.1