Hi

The filenames in the directory will be as follows:
2015-03-26-12-24-29-3226.txt
2015-03-26-13-23-23-8543.txt
2015-03-26-15-13-40-2580.txt
(File format read as YYYY-MM-DD-HH-MM-SS-XXXX.txt)

How can I rename the above multiple text files to something else? Like:
rename 2015-03-26-12-24-29-3226.txt to 1.txt
rename 2015-03-26-13-23-23-8543.txt to 2.txt
rename 2015-03-26-15-13-40-2580.txt to 3.txt