Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
datadump
Commits
e4545671
Commit
e4545671
authored
Jul 05, 2019
by
Jonathan Schaeffer
Browse files
Debug
parent
8820b699
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/datadump.sh
View file @
e4545671
...
...
@@ -57,10 +57,9 @@ fi
#
####################
DATADIR
=
${
RESIFDD_DATADIR
}
/validated_seismic_data/
${
SNAPSHOT_DIR
}
cd
$DATADIR
cd
$SNAPSHOT_DIR
for
dir
in
$(
find
.
-type
d
-maxdepth
3
)
;
do
for
dir
in
$(
find
.
-maxdepth
3
-type
d
)
;
do
IFS
=
'/'
read
-r
-a
YNS
<<<
$dir
[
!
${#
distro
[@]
}
-eq
3
]
&&
continue
YEAR
=
YNS[0]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment