Find what is on drive and not in an efu file

Discussion related to "Everything" 1.5.
Post Reply
phil2search
Posts: 37
Joined: Tue Mar 20, 2018 9:04 pm

Find what is on drive and not in an efu file

Post by phil2search »

Hello,

sorry because this was likely answered elsewhere but I can't find it. Probably using the wrong keywords.

I have efu corresponding to DVDs or external drives.
Their file pathes (letter and beginning of path) are slighlty different from the local drive but I could edit the EFU to make it the same if that helps.

How could I find which files on the local drive in a specific directory are not in the efu files? (by size and date is enough).
That would help for backups (some form of incremental or reminding what is nowhere).
If not possible in everything, I'll likely to it with a script unless there is already something already available.

Thanks for everything
Philippe

PS: had posted in another place and moved it here
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Find what is on drive and not in an efu file

Post by void »

How could I find which files on the local drive in a specific directory are not in the efu files? (by size and date is enough).
Please try the following search:

"c:\path\to\specific\directory\" !sizefilelist1:


(where c:\path\to\specific\directory\ is your specific directory)

Right click the sizefilelist1: text in the search box and click Edit File List Slot...
Click Import....
Select your file list and click Open.
Click OK.

Everything doesn't have a date-modified-filelist1: function yet.



Alternatively, make a copy of your filelist, adjust the paths to match your local drive, and then search for:

"c:\path\to\specific\directory\" !filelist1:


(where c:\path\to\specific\directory\ is your specific directory)

Right click the sizefilelist1: text in the search box and click Edit File List Slot...
Click Import....
Select your modified file list with paths to match the local drive and click Open.
Click OK.
phil2search
Posts: 37
Joined: Tue Mar 20, 2018 9:04 pm

Re: Find what is on drive and not in an efu file

Post by phil2search »

Thank you for your response.
I would not have guessed...
I'll see but I may resort to an external script to consider both size and date then.
It may be easier in general in a context of backup.
Thanks for everything
Philippe
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Find what is on drive and not in an efu file

Post by NotNull »

There might be another way ...

- I assume you added the EFU file to the indexes to make it searchable?
If not, add it under Menu => Tools => Options => Indexes => File Lists
- Remember it's name and location. In this example: X:\mydvds.efu

- Enter the following search:

Code: Select all

file:  "c:\path\to\specific\directory\"|file-list-filename:"mydvds.efu"   dupefrom:"c:\path\to\specific\directory\"   !dupe:name;size;dm

The resultlist will show all files that are in "c:\path\to\specific\directory\", but don't have an exact copy (based on name, size and date modified) anywhere in the EFU file.


One of the other file-list search functions might work too, but I don't have the time to test them.
phil2search
Posts: 37
Joined: Tue Mar 20, 2018 9:04 pm

Re: Find what is on drive and not in an efu file

Post by phil2search »

Thanks for the suggestion.

It tried with no luck.
Perhaps because the time on dvds does not have the same resolution as on PCs (second vs. less).
It could work for hard drives I assume.

I just wrote a short python script to read the efus (dvds, drive), correct the path, truncate the time, and save the filenames to be backed up in an efu. I can then use everything advanced copy to make the incremental. It seems to work. Good enough I guess for now.

Thanks
Philippe
Post Reply