Mark0's software support board
December 13, 2017, 05:49:26 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the new forum! Guests can posts without registration.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Is it possible to rename a file, only when it's wrong?  (Read 13221 times)
Robbert
Newbie
*
Posts: 2


« on: October 28, 2006, 05:10:30 pm »



Is it possible to rename a file, only when it's wrong?
Using a switch or something, so I can run TrID on all my (downloaded)files.

Robbert
Logged

Mark0
Administrator
Hero Member
*****
Posts: 1563



WWW
« Reply #1 on: October 28, 2006, 05:15:24 pm »

You can use the switch -ae. Yes, it doesn't change the extensions; it will add the guessed extension. The meaning was that this way you don't loose any info about the original file name.
The worse that can happen, is that you'll end up with a duplicated extensions, like mypicture.jpg.jpg.

Probably in a next version I will also add a switch to only change the extension if it it's wrong.

Bye!
Logged
Robbert
Newbie
*
Posts: 2


« Reply #2 on: October 28, 2006, 05:28:26 pm »

Thank you, for your fast reply.

Quote
You can use the switch -ae. Yes, it doesn't change the extensions; it will add the guessed extension. The meaning was that this way you don't loose any info about the original file name.
I like this. Keeping the old extension too.

The only thing I want to avoid is this:
Quote
The worse that can happen, is that you'll end up with a duplicated extensions, like mypicture.jpg.jpg.

So I'll be waiting for the next version.

Robbert
Logged
Mark0
Administrator
Hero Member
*****
Posts: 1563



WWW
« Reply #3 on: October 29, 2006, 02:30:24 am »

Note: the other messages about the ISO images have been moved in a new topic, here.
Logged
Mark0
Administrator
Hero Member
*****
Posts: 1563



WWW
« Reply #4 on: October 29, 2006, 02:35:50 am »


The only thing I want to avoid is this:
One thing you could do in the mean time, is to remove the extensions from the files, so that TrID will then in fact add the correct ones (equal to changing just the wrong ones). From a command prompt it just take a rename, like:

Code:
c:\temp> ren *.* *

Bye!
Logged
Pages: [1]
  Print  

 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2001-2010, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.138 seconds with 18 queries.