Hello,
I try to list two types of files: *.cdg and *.mp3 - that I can handle!
but how do I do it, when I want to see if one cdg-file or mp3-file misses it correspondending other file?
for example:
John Lennon - Let It Be.cdg
John Lennon - Let It Be.mp3
is on my harddrive, those always fit together, but now I only have, for example:
Michael Jackson - Thriller.cdg
and the "Michael Jackson - Thriller.mp3" is missing and I want to list all those files which are missing their counterpart.
How do I do that?
List files when there is not the same file with an diff. ext
Re: List files when there is not the same file with an diff.
There's currently no option to do this in Everything.
I would love to add lua scripts, which would allow searching for:
Maybe you can do something like this in excel with the exported results?
I would love to add lua scripts, which would allow searching for:
Code: Select all
/script if (IsExt(filename,"mp3") {cdgfilename=ReplaceExt(filename,"cdg"); if (!FileExists(cdgfilename)) AddResult();} if (IsExt(filename,"cdg") {mp3filename=ReplaceExt(filename,"mp3"); if (!FileExists(mp3filename)) AddResult();}
Re: List files when there is not the same file with an diff.
Not tested but here is an Autohotkey script
1.Start Everything
2.Search for the mp3 and cdg files in the location you want
3.When Everything display the result,use File=>Export=>choose from Save as type "Text Files"=>put some name and save
4.Run the script and choose the text file...the script will search for the files and in the end it will send the result to the clipboard.
The result is displayed correctly in notepad++ but not in the windows notepad(at least on my WinXp version)
Code: Select all
FileSelectFile,List,3,% A_Desktop,Choose the File List,Documents (*.txt)
If List =
ExitApp
FileRead,List,% List
Loop,Parse,List,`r
Lines := A_Index
Loop,Parse,List,`r
{
ToolTip,% A_Index "/" Lines
SplitPath,A_LoopField,,Dir,Ext,Name
If Ext = mp3
{
IfNotExist,% Dir "\" Name ".cdg"
{
CDGFiles .= Dir "\" Name ".cdg"
Continue
}
Continue
}
If Ext = cdg
{
IfNotExist,% Dir "\" Name ".mp3"
{
MP3Files .= Dir "\" Name ".mp3"
Continue
}
Continue
}
}
Clipboard := "Missing CDG Files" "`n`n" CDGFiles "`n`n" "Missing MP3 Files" "`n`n" MP3Files
MsgBox,Done
2.Search for the mp3 and cdg files in the location you want
3.When Everything display the result,use File=>Export=>choose from Save as type "Text Files"=>put some name and save
4.Run the script and choose the text file...the script will search for the files and in the end it will send the result to the clipboard.
The result is displayed correctly in notepad++ but not in the windows notepad(at least on my WinXp version)
Re: List files when there is not the same file with an diff.
Thank you for help!
I like the workaround!
I like the workaround!