OdeeanRDeathshead
26th August 2007, 02:55 PM
This is a tool I have been waiting for someone to write for ages. I got sick of waiting so I knocked it up myself.
It searches an input directory and any subdirectories allowed to find files. It filters the results based on parameters you give then makes a new copy in an output directory. The new copy is named using a elaborate set of rules you can decide on and then checked to be sure it is copied correctly. A log file is produced and it is pretty easy to use.
I have tens of thousands of files (images and video) that have rubbish names. For example a lot of sites I am at I often save images but those images have been given hashed names by the site software to keep each file unique. After a few years of saving like this into different folders names tend to get get duplicated of loose any meaning. I use this tool to bring order to that mess.
Its also good for when you want to strip out a string from a group of file names or rename files according to what folder they are in. For example if I dump my camera shots into a folder for that day, this tool can rename all the images to include that name eg c:\Birthday\some_photo.jpg could end up c:\output_folder\Birthday_1.jpg.
http://www.odeean.com/ORDsite05/Images/ord_file_tool_002.gif
download the rar http://www.odeean.com/ORDsite05/Images/THfileMoveTool.gif (www.odeean.com/ORDsite05/Downloads/ORD_FileMovingTool.rar) then just extract. The program will make a registry entry under HKLM "SOFTWARE\\ORD_renamingTool". It needs this to save any settings you choose and to keep track of an index it uses to keep each name unique.
**Update**
*There is now the option to output to subfolders that are 4.2Gb max. This makes it better for creating backups. If you have 100Gb then just point it at the source and go. The output will be split into many subfolders and the subfolders put in the log.
*A bug was fixed in the file copy code.
*The output can now be organized by date of last modification, so that the names 000,001,002 etc correspond to the order the files were last written to.
*The log now has a bit more info and is organizes better.
***update***
The option to skip duplicate files has been added. The files are compared by their 32 bit crc and if found to be identical only 1 copy is made. The name of the file is not looked at, so the same file with different names will not be duplicate.
****update*****
The issues with 2Gb+ files causing problems have been fixed. It now works properly up to the 4294967294 bytes for an individual file (try to avoid this however because it is slow due to the 3 steps - copy, crc in, crc out).
*****update*****
I forgot to remove a dialog from the last version that was for testing, so thats fixed. I also fixed a bug with the checking of directory names, so now the input and output directory can both be under the same parent directory.
I also fixed a bug where 0 byte files were seen as bad. I wanted to keep 0 byte files during my backups because I sometimes use just the file name to store some password or other in I want seen in a folder.
******update******
-I added the ability to not copy the files but still produce a log.
-The option to only use the unique index if it is needed to resolve a naming conflict. This means that now your file names can be left intact as long as they are all different.
-A choice to remove a number of characters from the beginning or end of the file name.
-An option to save the hard drive from overheating when in use for long periods. It will rest for 5 minutes out of every 15 (needed if you are going to leave it on overnight to move heaps of stuff).
It searches an input directory and any subdirectories allowed to find files. It filters the results based on parameters you give then makes a new copy in an output directory. The new copy is named using a elaborate set of rules you can decide on and then checked to be sure it is copied correctly. A log file is produced and it is pretty easy to use.
I have tens of thousands of files (images and video) that have rubbish names. For example a lot of sites I am at I often save images but those images have been given hashed names by the site software to keep each file unique. After a few years of saving like this into different folders names tend to get get duplicated of loose any meaning. I use this tool to bring order to that mess.
Its also good for when you want to strip out a string from a group of file names or rename files according to what folder they are in. For example if I dump my camera shots into a folder for that day, this tool can rename all the images to include that name eg c:\Birthday\some_photo.jpg could end up c:\output_folder\Birthday_1.jpg.
http://www.odeean.com/ORDsite05/Images/ord_file_tool_002.gif
download the rar http://www.odeean.com/ORDsite05/Images/THfileMoveTool.gif (www.odeean.com/ORDsite05/Downloads/ORD_FileMovingTool.rar) then just extract. The program will make a registry entry under HKLM "SOFTWARE\\ORD_renamingTool". It needs this to save any settings you choose and to keep track of an index it uses to keep each name unique.
**Update**
*There is now the option to output to subfolders that are 4.2Gb max. This makes it better for creating backups. If you have 100Gb then just point it at the source and go. The output will be split into many subfolders and the subfolders put in the log.
*A bug was fixed in the file copy code.
*The output can now be organized by date of last modification, so that the names 000,001,002 etc correspond to the order the files were last written to.
*The log now has a bit more info and is organizes better.
***update***
The option to skip duplicate files has been added. The files are compared by their 32 bit crc and if found to be identical only 1 copy is made. The name of the file is not looked at, so the same file with different names will not be duplicate.
****update*****
The issues with 2Gb+ files causing problems have been fixed. It now works properly up to the 4294967294 bytes for an individual file (try to avoid this however because it is slow due to the 3 steps - copy, crc in, crc out).
*****update*****
I forgot to remove a dialog from the last version that was for testing, so thats fixed. I also fixed a bug with the checking of directory names, so now the input and output directory can both be under the same parent directory.
I also fixed a bug where 0 byte files were seen as bad. I wanted to keep 0 byte files during my backups because I sometimes use just the file name to store some password or other in I want seen in a folder.
******update******
-I added the ability to not copy the files but still produce a log.
-The option to only use the unique index if it is needed to resolve a naming conflict. This means that now your file names can be left intact as long as they are all different.
-A choice to remove a number of characters from the beginning or end of the file name.
-An option to save the hard drive from overheating when in use for long periods. It will rest for 5 minutes out of every 15 (needed if you are going to leave it on overnight to move heaps of stuff).