diff options
Diffstat (limited to 'sandbox/lresende/etc/download-script/sca-test.sh')
-rwxr-xr-x | sandbox/lresende/etc/download-script/sca-test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sandbox/lresende/etc/download-script/sca-test.sh b/sandbox/lresende/etc/download-script/sca-test.sh new file mode 100755 index 0000000000..56497f5f8b --- /dev/null +++ b/sandbox/lresende/etc/download-script/sca-test.sh @@ -0,0 +1,10 @@ + #!/bin/bash + + for year in 2007 2008 2009 2010; do + for month in 01 02 03 04 05 06 07 08 09 10 11 12; do + log_file=${year}/${year}-${month}.log + echo ${log_file} + if[ -f ${log_file}] then + echo ${log_file}; + done + done
\ No newline at end of file |