Search duplicated PDF to TIF on harddisk?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Search duplicated PDF to TIF on harddisk?

Post by *Peter »

We have some TIF files, created as export from PDF. I have to search for these "derivates" on the entire harddisk in that way

- search the defined location
- for every file with extension TIF or TIFF
- if a file is found, check if there is a PDF with same name in same folder (c:\data\test.tif -->> c:\data\test.pdf)
(spezial: check if PDF or TIF is older)
- if PDF is found, return the TIF to result window or to result file

My idea is semi-manual:
- search for TIF
- write result to file
- edit file - replace TIF with PDF
- search for new filelist

Any better ideas?
Last edited by Peter on 2019-10-22, 11:33 UTC, edited 1 time in total.
TC 10.xx / #266191
Win 10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Search duplicated PDF to TIF on harddisk?

Post by *petermad »

Press Num+
Enter *.tif*>*.pdf and click OK

Now all tif and tiff files that have a matching pdf file are marked, but the pdf files are also marked

Press Num-
Enter *.pdf

Now only the tif and tiff files that have a matching pdf file should be selected
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: Search duplicated PDF to TIF on harddisk?

Post by *Peter »

Peter wrote: 2019-10-22, 08:41 UTC We have some TIF files, created as export from PDF. I have to search for these "derivates" on the entire harddisk in that way

- search the defined location
- for every file with extension TIF or TIFF
- if a file is found, check if there is a PDF with same name in same folder (c:\data\test.tif -->> c:\data\test.pdf)
(spezial: check if PDF or TIF is older)
- if PDF is found, return the TIF to result window or to result file

My idea is semi-manual:
- search for TIF
- write result to file
- edit file - replace TIF with PDF
- search for new filelist

Any better ideas?
TC 10.xx / #266191
Win 10 x64
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: Search duplicated PDF to TIF on harddisk?

Post by *Peter »

Enter *.tif*>*.pdf and click OK
Ohter way ;-)

Code: Select all

Enter *.pdf>*.tif and click OK
Great stuff, thanks.

But - my fault - I meant I have to search on the entire disk, not in one folder (I just modifid my posting above)
TC 10.xx / #266191
Win 10 x64
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Search duplicated PDF to TIF on harddisk?

Post by *tuska »

Peter wrote: 2019-10-22, 11:36 UTC I meant I have to search on the entire disk, not in one folder...
Branch View (With Subdirs) Ctrl+B
?
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: Search duplicated PDF to TIF on harddisk?

Post by *Peter »

Branch view with thousands of files can be a little bit bulky ...
TC 10.xx / #266191
Win 10 x64
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Search duplicated PDF to TIF on harddisk?

Post by *nsp »

Peter wrote: 2019-10-22, 15:32 UTC Branch view with thousands of files can be a little bit bulky ...
I do it all the time but i always apply filter first to only select one or two file type... in your case this is *.tif *.pdf
For your issue you could also give a look to additional content plugins like:
to build you own stuff
- http://totalcmd.net/plugring/WinScriptAdv.html
to find if any tiff "Sibling" file is saved side to the pdf file ( but not getting date)
- https://totalcmd.net/plugring/file.html
User avatar
Peter
Power Member
Power Member
Posts: 2064
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: Search duplicated PDF to TIF on harddisk?

Post by *Peter »

Thanks to all - I'll try it.
TC 10.xx / #266191
Win 10 x64
Post Reply