All pastes #63794 Raw Edit

Svip

public shellscript v1 · immutable
#63794 ·published 2006-06-10 17:51 UTC
rendered paste body
file_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;