Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Looking for a software that can find and remove based on parts of file names.

For example (file names):

"This is not, for this is right"
"This is not  cause it is wrong"

It would find these because they start with the same characters.
Then I want to remove all with wrong in them.

Is this possible?

share|improve this question
    
Are you asking to find all files that have a particular word in their name, and remove those? –  soandos Mar 19 '12 at 18:45
    
What I need is a software that find files where the first X characters is the same and THEN remove files based on input from the user. For example: Software - europe Software - america Klipsch - europe Klipsch - america So the software would find these four because they share the same start characters and then I could remove all of them inclyding europe. –  Mårten Cederholm Mar 19 '12 at 18:47
    
dir Software* does not give you that list? –  soandos Mar 19 '12 at 18:49
    
Possible duplicate: Software to partially remove text from file names –  Siva Charan Mar 19 '12 at 18:58
    
I can actually wanna REMOVE one of the files with partial same file name. But I wanna be able to CHOOSE –  Mårten Cederholm Mar 19 '12 at 19:11
add comment

4 Answers

Try this freeware - Everything: http://voidtools.com/ should do what you want and very quick and easy to use.

share|improve this answer
add comment

I assume that searching for "beginning of text*" without the quotes is not an option for you. I recommend a free tool to find similar file names.

This is a tool that has commercial version, but the options to find duplicate files and files with similar names are unrestricted. It can detect for example: My CV.doc, My new CV.doc, My Cv 2013.doc and so on. You can adjust the similarity percentage for the search.

Actually it can even select all the files that contain certain word for you like "Wrong" in the results in order to delete them automatically, but that is available in the paid version. See the quick-check preview here: http://www.mindgems.com/products/Fast-Duplicate-File-Finder/Fast-Duplicate-File-Finder-Screenshots.htm
You can even specify multiple words or phrases to be matched.

I think it will do exactly what you need.

share|improve this answer
add comment

It sounds like you just want to delete files that start with "This is not" and end with "wrong". If that is the case, you can use the following command line command:

DEL "This is not*wrong.*"
share|improve this answer
    
I wanna find files within a set of files that share X character in the of the file. Within this selection I wanna delete all the files with "wrong" in the name –  Mårten Cederholm Mar 19 '12 at 19:38
add comment

If I understand the question correctly, another option is to use a Unix solution.  Install Cygwin or some other Unix lookalike, and pipe a sorted (by name) file listing into an awk script that compares consecutive lines.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.