ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Compare folders with identical files, but .. different file names

<< < (3/4) > >>

dcwul62:
Sorry for the delay, one way or the other I didn't get any notifications anymore.

IanB

I tried following
-
Compare folders with identical files, but .. different file names
-

But then what? When I click on [OK]  nothing seems to happen.
For yr info: I selected the two folders in the right window panel and then Sync Wizard.

@antekgla
Indeed Duplicate File Finder could not do what I wanted (I -did- gave it a try anyhow, but bad luck)

@skwire
Well, as said, I have tried quite a few of those file comparison tools, but haven't found any of them to offer what I want.
Guess it is quite unique then.

@4wd
the script didn't work, at least not with me. Reason why I am posting here...
I had the toolbar button alright (meanwhile removed), but got a Windows error.
Seems the script should be stored in some folder that 'my' Directory Opus does not have. I have no 'script' folder, nor Dopusdata, nor something that even looks like that. After trying over and over and vainly checking on Internet and reading long texts, well, I gave up.
(Felt I shouldn't keep on nagging there in the Opus forum)
Also please note that I am just an 'end-user' - I am not familiar with scripts. Sorry.

The thread 'Hide identical file names' - that one is new to me. Thanks.
However, actually the issue is that the file names are not identical, the hashes are identical.
It would be nice if it was 'hide files with identical hashes'







4wd:
the script didn't work, at least not with me. Reason why I am posting here...
I had the toolbar button alright (meanwhile removed), but got a Windows error.-dcwul62 (May 21, 2018, 09:02 AM)
--- End quote ---

As was mentioned, it's a script addin, you need to install it: Preferences->Toolbars->Scripts and drop it on the interface.
Compare folders with identical files, but .. different file names

Also please note that I am just an 'end-user' ...
--- End quote ---

As am I but I do know how to use the forum search and it's also in the manual.

The thread 'Hide identical file names' - that one is new to me. Thanks.
However, actually the issue is that the file names are not identical, the hashes are identical.
--- End quote ---

You need to reread what I wrote:

A modified script from here hides selected files, ...-4wd (May 20, 2018, 01:35 AM)
--- End quote ---

It's got nothing to do with hiding identical file names other than only keeping the parts of the script that were necessary to hide selected files.

dcwul62:
the script didn't work, at least not with me. Reason why I am posting here...
I had the toolbar button alright (meanwhile removed), but got a Windows error.-dcwul62 (May 21, 2018, 09:02 AM)
--- End quote ---

As was mentioned, it's a script plugin, you need to install it: Preferences->Toolbars->Scripts and drop it on the interface.
[ Invalid Attachment ]

-4wd (May 21, 2018, 09:54 AM)
--- End quote ---

it was there alright.

Also please note that I am just an 'end-user' ...
--- End quote ---

As am I but I do know how to use the forum search.


--- End quote ---

you are great!!

As for the rest: forget it, let it rest.

I was asking for a simple tool, but end up with scripts that don't work with me as well as allegations for not looking good enough.

again, forget it!



antekgla:
Well I search a solution for this and after some research a find a very primitive one...only a list of the unique files

You need the program HashMyFiles from Nirsoft.

Conventions in this explanation: Big_Folder (the folder with more files) Small_Folder (the folder with fewer files)

The procedure is this:


* Open HashMyFiles and in Options --> Hash Types only select MD5 hash (you only need a hash to identify the files)
* In HashMyFiles drag the Big_Folder wait a little and the program would calculate the MD5 hashes.
* In View --> Choose Colums only select MD5 & Full Path (in that order)
* Select All (Ctrl+A)
* Save Selected Items (Ctrl+S) . Choose Tab Delimited text file in Type. Name the file Big.txt
* You ended with a file like this:
--- ---e520af771051085a0d88f681b1e3aa07 C:\Users\USER\Portable.Programs\Splayer\ir41_32.ax
652809bf6fc8ff180094b069f0612188 C:\Users\USER\Portable.Programs\Splayer\ir50_32.dll
727641a2c4b80374aa03da42a62cc6d9 C:\Users\USER\Portable.Programs\Splayer\ivm.dll
261ceeafb613f8ae1ec96814a0a4ed8f C:\Users\USER\Portable.Programs\Splayer\IVMSource.ax
9c4fe9c4f64947a8778fa9f588aae4a0 C:\Users\USER\Portable.Programs\Splayer\mc.dll
5a4cb17bfcba5d7d78f8296408dfacda C:\Users\USER\Portable.Programs\Splayer\media.db
b7f43e6dc5b7199f5dc12e3a6ca00848 C:\Users\USER\Portable.Programs\Splayer\MediaInfo.dll
8d803ebe525991e6c85ac047d39b569a C:\Users\USER\Portable.Programs\Splayer\mkunicode.dll
51424ca9507cfb6eaf19ab4c78273b88 C:\Users\USER\Portable.Programs\Splayer\mkx.dll
9df0f8c0acc5548f32906f6ea4d222b1 C:\Users\USER\Portable.Programs\Splayer\mkzlib.dll
e7d1fed458491c4963da4529756d46dc C:\Users\USER\Portable.Programs\Splayer\mmamrdmx.ax
17cf953ae7ea3128f1a8d44a39746011 C:\Users\USER\Portable.Programs\Splayer\mp4.dll
43316f8a3072ce9ba9a82526e7f94987 C:\Users\USER\Portable.Programs\Splayer\ogm.dll
dc1defde4f0b51bd17332586d0962786 C:\Users\USER\Portable.Programs\Splayer\PmpSplitter.ax
7668248c3101e6cca0b88fc9ea99f6a3 C:\Users\USER\Portable.Programs\Splayer\RadGtSplitter.ax
f8dd535c7c145b18d31e00d40f1ffef8 C:\Users\USER\Portable.Programs\Splayer\rlapedec.ax
263e1422ef9fb6a21922dc6282fe0431 C:\Users\USER\Portable.Programs\Splayer\settings.db
79d5c71c74566beb2bb18e392f2403bf C:\Users\USER\Portable.Programs\Splayer\sinet.dll
9dcf8871a1c8fbf20fbd9cd8b332cea4 C:\Users\USER\Portable.Programs\Splayer\smackw32.dll


* Again in HashmyFiles Clear All (Ctrl+X).
* Now drag Small_Folder in HashMyFiles
* In View --> Choose Colums only select MD5
* Select All (Ctrl+A)
* Save Selected Items (Ctrl+S) . Choose Tab Delimited text file in Type. Name the file Small.txt
* You ended with a file like this:
--- ---c6771e032b4085968e8e081c57c49f0b
002cdf612509807b33e4ab09c686a966
b6cfb690fe5997da0f07506c8982334f
3fa06cf5079b84155d18b05c08f7131b
7a8a8919feeeab8f7dbda713510418ab
e7cf8ddd9941ba6e08e212d91759b174
0dc0734ba778ef05933cd8a3d9a2fff1
c37f106cba9a726e5689eb610c5b1c77

Now open a command window and change to the folder you saved Big.txt and Small.txt and type this command:


--- ---findstr /v /g:small.txt big.txt > diff.txt
In the file diff.txt you have only the unique files (and his MD5 hashes).
Edit in Notepad++ or any other plain text editor what permit block (or column) selection (In Notepad++ alt+arrow keys or alt+mouse drag) to remove the MD5 hashes and you end with a list of unique files only.

If you use Teracopy or Fastcopy you can use my Software DualCopy to paste that list and copy that files.  :D

Edit: Make sure what your file names dont cointains UNICODE chars because the resulting txt would be Unicode and the command findstr DONT WORK WITH UNICODE STRINGS.

tomos:
Seems the script should be stored in some folder that 'my' Directory Opus does not have. I have no 'script' folder, nor Dopusdata, nor something that even looks like that.
-dcwul62 (May 21, 2018, 09:02 AM)
--- End quote ---
hi dcwul62, I was hoping to try installing this and was wondering what version of dopus are you using? (I have 11 on this machine and 12 on my desktop -- I will try it anyways, but will probably only get to it later in the week.)

the script didn't work, at least not with me. Reason why I am posting here...
I had the toolbar button alright (meanwhile removed), but got a Windows error.
Seems the script should be stored in some folder that 'my' Directory Opus does not have. I have no 'script' folder, nor Dopusdata, nor something that even looks like that. After trying over and over and vainly checking on Internet and reading long texts, well, I gave up.
(Felt I shouldn't keep on nagging there in the Opus forum)
-dcwul62 (May 21, 2018, 09:02 AM)
--- End quote ---
I only see one reply in the thread 4wd links to (?) FWIW I'm not trying to give you a hard time -- just trying to understand.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version