Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
ccsdk
/
distribution
/
4a67c1ca2c2352c200425a620d2a706c45a60a25
/
.
/
dgbuilder
/
svclogic
/
copy_xml.sh
blob: 8b2cc4ee61f632a3637840ad1e38df3845ae34ef [
file
] [
log
] [
blame
]
dt
=
$
(
date
+
'%m%d%Y_%H%M%S'
)
mv
~/
dg_xml
/
dg
.
xml
~/
dg_xml
/
dg_$
{
dt
}.
xml
cp $
(
ls
-
ltr
/
home
/
users
/
schinthakayala
/
nodered
/
production
/
flowDesigner
/
users
/
sheshi
/
xml
/*.
xml
|
tail
-
1
|
awk
'{print $NF}'
)
~/
dg_xml
/
dg
.
xml
echo
"copied the latest DG"