Hello
I am trying to figure out how to batch convert a large folder with multiple file types, but only selct a single file type to convert. In my case, I have a folder with TIF and JPG images, total number of files around 12,000. I only want to convert the TIF images to PDF, not the JPG. Is there a way to filter the results of selecting the root folder? or avoid selecting the JPGs in the first place. Sorry if this topic has already been discused, but i was unable to find a similar question.
Roper
Batch Convert Single File Type
Moderators: helmut, XnTriq, xnview
Re: Batch Convert Single File Type
In the batch convert dialog, choose "add", the go to the "files of type" field and set it to tiff, then just click the first file & then scroll over to the end of the list, hold shift & hit the last file, then click the "add" button, then "ok". After that, just choose your output options as usual.
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
Re: Batch Convert Single File Type
That would work if all the files were in a single folder, but i seem to have left out the fact that i have a pretty large folder structure, so to go through each folder would be fairly time consuming. I am trying to do the batch processing through the "add folder" function to select the root folder, and take care of everything in one batch. The (regular) "add" file option only seems able to select multiple files in a single folder, even when "include sub-folders" is checked.
If i misunderstood your suggestion, please let me know. If not, does any one have a way to batch convert multiple files of a single file type, through the "add folder" function, or selecting multiple folders in a single operation?
If i misunderstood your suggestion, please let me know. If not, does any one have a way to batch convert multiple files of a single file type, through the "add folder" function, or selecting multiple folders in a single operation?
Re: Batch Convert Single File Type
Hmm... The include subfolders option seems to do absolutely nothing. Very strange 9should probably be filed as a bug).
I thought that perhaps checking the subfolders option & using a wildcard for the filename might work, but it didn't.
Likewise, selecting the subfolders themsevles had no effect.
The only workaround I can see is to use ctrl+a to select all the files (after you set the type in the dropdown) instead of the shift+click method. Use the add method I described before, select tiff as the type, then click anywhere in the folder & hit ctrl+a, then click the add button, then go to the next folder (no need to close the dialog yet), hit ctrl+a, then "add", go to the next folder, etc. As long as you don't click "ok" to close the dialog, you don't have to re-select the filetype or anything, you can just ctrl+a->add, then move to the next folder.
With your files in multiple folders, make sure to check the "use original path" option on the main dialog (assuming you want to keep the new copies in the same folders as the originals).
This isn't an ideal solution, but it seems to be the best one available.
I thought that perhaps checking the subfolders option & using a wildcard for the filename might work, but it didn't.
Likewise, selecting the subfolders themsevles had no effect.
The only workaround I can see is to use ctrl+a to select all the files (after you set the type in the dropdown) instead of the shift+click method. Use the add method I described before, select tiff as the type, then click anywhere in the folder & hit ctrl+a, then click the add button, then go to the next folder (no need to close the dialog yet), hit ctrl+a, then "add", go to the next folder, etc. As long as you don't click "ok" to close the dialog, you don't have to re-select the filetype or anything, you can just ctrl+a->add, then move to the next folder.
With your files in multiple folders, make sure to check the "use original path" option on the main dialog (assuming you want to keep the new copies in the same folders as the originals).
This isn't an ideal solution, but it seems to be the best one available.
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
Re: Batch Convert Single File Type
Drahken
Thanks for your help, still no answer to how i would do this in an efficient way; But i posted the "Bug" as you suggested.
Roper
Thanks for your help, still no answer to how i would do this in an efficient way; But i posted the "Bug" as you suggested.
Roper
Re: Batch Convert Single File Type
So I think I got a solution from reporting the "add subfloders" bug.
In order to add a large folder set to be batch processed. Use the "Add" (add file) button, then have the "include sub-directories" checked. You can have the specific file type selected if you would like to filter for a specific file type. Then drag and drop the root folder into the box on the lower left corner of the "choose files" window. All of the files within the root directory, of the file type chsen, will be added to the list of files to be batch processed.
In order to add a large folder set to be batch processed. Use the "Add" (add file) button, then have the "include sub-directories" checked. You can have the specific file type selected if you would like to filter for a specific file type. Then drag and drop the root folder into the box on the lower left corner of the "choose files" window. All of the files within the root directory, of the file type chsen, will be added to the list of files to be batch processed.