Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | dt=$(date +'%m%d%Y_%H%M%S') |
2 | mv ~/dg_xml/dg.xml ~/dg_xml/dg_${dt}.xml | ||||
3 | cp $(ls -ltr /home/users/schinthakayala/nodered/production/flowDesigner/users/sheshi/xml/*.xml|tail -1|awk '{print $NF}') ~/dg_xml/dg.xml | ||||
4 | echo "copied the latest DG" |