summaryrefslogtreecommitdiffstats
path: root/dgbuilder/svclogic/copy_xml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dgbuilder/svclogic/copy_xml.sh')
-rwxr-xr-xdgbuilder/svclogic/copy_xml.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dgbuilder/svclogic/copy_xml.sh b/dgbuilder/svclogic/copy_xml.sh
new file mode 100755
index 00000000..8b2cc4ee
--- /dev/null
+++ b/dgbuilder/svclogic/copy_xml.sh
@@ -0,0 +1,4 @@
+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"