Tim Rettig's Blog

What's technically going on.

Rename File Based on Date and Time

with one comment

The weather stations in Alaska are going to be uploading their data with a static filename based on the station identification number.  Since the filename is always the same, if the satelite link back to UC is down, the files will start to get overwritten, and data will be lost.  So we needed a way to rename the files to a unique name.  We found this great little article and batch file on the PC Magazines website:  http://www.pcmag.com/article2/0,2817,1386947,00.asp

It was actually for renaming picture files from cameras, but will work for our purposes.  Nice and simple one line batch file.

Advertisement

Written by timrettig

June 22, 2009 at 11:12 pm

Posted in Barrow

Tagged with

One Response

Subscribe to comments with RSS.

  1. One word… ROBOCOPY!!!

    mcolson

    June 25, 2009 at 9:02 pm


Leave a Reply

Please log in using one of these methods to post your comment:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 87 other followers