While tidying up my office these days I found hundreds of double files
(same and different versions) on my harddisk.
So I wrote a VEDIT macro to help me handling those files.
It lists all files with double filenames (Data shown: date, time, size
and path) and provides several commands via key assignment to work
with the files:
It doesn't DO anything with that files directly. You can open and
edit them of course.
Perhaps I'll implement a function "delete marked files" later.
F12 - open file at cursor line
- close the file again
Shft-F12 - open files with same name in and around cursor line
- closes all same named files again
Ctrl-F12 compare files with same name in and around cursor line
(And marks them with A..J to show diffs)
Ctrl-F10 - toggle DELETE flag of file in current cursor line
- toggle DELETE flag of current file in list
Ctrl-Shft-F10 ... and advance one line
Alt-F10 delete non double filenames (req. by-name sorted list)
F11 sort list by filename
Shft-F11 sort list by path
Ctrl-F11 sort list by DELETE flag (at EoF)
Alt-F11 sort list by size
Notes:
- Only for WINNT and above yet (due to different DIR formats).
I'll add Win9x support later.
- Only tested with German Windows yet.
But should work with English Windows too.
If not: Please send me a short listing of "DIR /s"
so that I'm able to fix that
(I don't have access to an English Windows.)
Christian
12.03.2004: Attachment removed. There are too many new versions these days...
The Current one is available here
http://ziemski.privat.t-online.de/vedit/macros/dir-fdouble.vdm