diff options
author | Patrick Darley <patrick.darley@codethink.co.uk> | 2015-09-18 13:26:09 +0000 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-21 09:59:26 +0100 |
commit | 5e2325f5424d224a4a5173860a5881c52b9ce359 (patch) | |
tree | 6ebc8d7667c1ce98805e8cbd17d245f7e3e547cb /archive_an_image.sh | |
parent | c432b7b9196ccc6aded72c3b7a01975eca139506 (diff) | |
download | buildslave-scripts-5e2325f5424d224a4a5173860a5881c52b9ce359.tar.gz |
Make archiving executeable
Diffstat (limited to 'archive_an_image.sh')
-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" |