View Single Post
Kickaha
Likes his boobies blue.
 
Join Date: May 2004
Location: Hell
 
2006-08-30, 10:13

Depends on how you access the files, how you want to format that rev number.

In the Finder, it intelligently identifies that File9.txt is 'less than' File100.txt, and sorts it appropriately.

Terminal doesn't. You get them all out of 'order', and you need to prepend zeroes to pad the space. But then you get into "well, how *many* zeroes?" Do you want a max of 10 revisions? 100? 1000?

YMDhms always sorts correctly, which is why a lot of people use it. It also lets you insert a copy along the way if you get an intermediate version later, or you missed one along the conversion.

My other brain is hung like a horse too.
#IRC isn't old school.
Old school is being able to say 'finger me' with a straight face.
  quote