• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂1f71ab9896d98763b7ce830e74f727380a85eac3 (tree)
時間2014-11-19 01:10:15
作者Lorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

A simply script to remove and copy files.

Change Summary

差異

diff -r dbba39092568 -r 1f71ab9896d9 Bash-scripts/transfer-plots.bash
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Bash-scripts/transfer-plots.bash Tue Nov 18 17:10:15 2014 +0100
@@ -0,0 +1,23 @@
1+#!/bin/bash
2+
3+
4+
5+array=("BE" "BG" "CZ" "DK" "DE" "EE" "IE" "EL" "ES" "FR" "IT" "CY" "LV" "LT" "LU" "HU" "MT" "NL" "AT" "PL" "PT" "RO" "SI" "SK" "FI" "SE" "UK" "HR" )
6+
7+
8+echo "Array items:"
9+for item in ${array[*]}
10+do
11+ printf " %s\n" $item
12+
13+done
14+
15+
16+for item in ${array[*]}
17+do
18+ rm $item/*
19+ cp $item*1.png $item
20+ cp $item*.csv $item
21+
22+done
23+