Skip to content

Retrieve the right extension for a file. Using an xml database containing signatures.

License

Notifications You must be signed in to change notification settings

ollprogram/ExtensionRetriever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExtensionRetriever

Retrieve the right extension for a file. Using an xml database containing signatures.

Author and Licence :

Hi I'm ollprogram and I am the author of this project. Thanks for using it.
Please don't be afraid to report bugs or mistakes to me. I'll try to fix them. By the way, english isn't my main language, so I'm sorry for english mistakes but I'm open if you find some.
Find information about the licence used for this project here. You need to know the licence before using my project. It gives information about how you can use it.

Description :

With this application you will be able to retrieve the right extension for a file which don't have any extension or not the proper one.
This application will retrieve the proper extension by using an xml file which contains some signature.
This xml database could be extended as you wish by using this dtd .

Dependencies :

For this project I'm using java 18. So you couldn't lauch it with older versions.

Download :

You can download the runnable jar file and the xml database here.

Usage :

To launch the program with the console interface :

First add the filesTypes.xml in the same directory as ExtensionRetriever.jar. Then, java -jar ExtensionRetriever.jar (cmd or terminal)

Different options will appear on your screen :

  • Add file to selection. You should paste a path to the file chosen.
  • Add all files from a directory to a selection. You should paste a path to the directory chosen.
  • Analyse extensions. This will analyse the files selected to retrieve their proper extension.
  • Change all extensions (rename). This will rename all selected files to apply the analysed extension for each file.
  • Clear selection
  • Exit

Next Upates :

  • Better exceptions caught.

About

Retrieve the right extension for a file. Using an xml database containing signatures.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages