I have a folder in my server which contains some files. These are automated that means everyday we get new files automatically which will overwrite the old ones. So want to take
You could use a script like the below. You would just need to change the date options to match the format you wanted.
#!/bin/bash for i in `ls -l /directroy` do cp $i /newDirectory/$i.`date +%m%d%Y` done