Started by jamespetts, May 11, 2014, 01:17:11 PM
0 Members and 1 Guest are viewing this topic.
now=$(date +"%d_m%_%Y")/bin/sh -c "cp /usr/share/games/simutrans-experimental/simutrans/simu-server13353.log /var/log/old-log_$now.log"
Quote from: An_dz on May 12, 2014, 03:43:27 AMIt is the m% which should be %m. now was receiving m%y. I would include _%T at now to include the time.