diff options
author | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-18 13:26:09 +0000 |
---|---|---|
committer | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-18 13:26:09 +0000 |
commit | 8f9c706d90726d38a26a5c18a1b293f6a6fb19f5 (patch) | |
tree | e6c311d9d59859cf5e957da63a1ca16e2ba21a92 | |
parent | 125ede1e137ef2eaac640089e231dfe144424b2c (diff) | |
download | buildslave-scripts-8f9c706d90726d38a26a5c18a1b293f6a6fb19f5.tar.gz |
Make archiving executeable
-rwxr-xr-x[-rw-r--r--] | archive_an_image.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archive_an_image.sh b/archive_an_image.sh index aec6c60..7bfc71d 100644..100755 --- 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" |