Svip
public shellscript v1 · immutablefile_start="test"file_end=".log"while [ 1 ];do currenttime=`date` mv "${file_start}${file_end}" "${file_start}-${currenttime}${file_end}" echo "Moved file ${file_start}${file_end} to '${file_start}-${currenttime}${file_end}" sleep 10done;