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
1026398d
Commit
1026398d
authored
Jul 05, 2019
by
Jonathan Schaeffer
Browse files
debug
parent
858aefda
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/datadump.sh
View file @
1026398d
...
...
@@ -46,7 +46,7 @@ fi
# Checking IRODS environment
if
[[
!
-f
~/.irods/irodsA
]]
;
then
if
[[
!
-f
~/.irods/
.
irodsA
]]
;
then
log
"The irods scrambled password file is not present. Please run iinit and provide the password"
exit
1
fi
...
...
@@ -65,7 +65,7 @@ for dir in $(find . -maxdepth 3 -type d); do
YEAR
=
${
YNS
[0]
}
NETWORK
=
${
YNS
[1]
}
STATION
=
${
YNS
[2]
}
KEY
=
$YEAR_$NETWORK_$STATION
KEY
=
$
{
YEAR
}
_
$
{
NETWORK
}
_
$
{
STATION
}
log
"Going to tar data from
$KEY
"
tar
cf
$RESIFDD_WORKDIR
/
$KEY
.tar
$dir
# Check if file exists on irods server
...
...
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