Results 1 to 2 of 2

Thread: [RESOLVED] Searching and deleteing files (using wildcards)

  1. #1

    Thread Starter
    Member bigal199's Avatar
    Join Date
    Jun 2009
    Location
    Waterford, WI
    Posts
    36

    Resolved [RESOLVED] Searching and deleteing files (using wildcards)

    Hey everyone... I really don't have any idea how to even start a code project of this sort but here it goes...

    I have an external Hard Drive with some music. My itunes makes duplicates of all my songs so this is what i have.

    Dance.mp3
    Dance 1.mp3
    Dance 2.mp3
    Dance 3.mp3
    Party.mp3
    Party 1.mp3
    ... ect...

    What I want to do is have the program search the files and delete all files that have a duplicate with a number behind it... Now I would use windows search but some of the songs are like 1001.mp3 or 1001 1.mp3...

    I want it to look like this when i get done (from the above):

    Dance.mp3
    Party.mp3

    Can anyone understand this enough to help me out.

    Thanks in advance for ANY and ALL help,
    -Bigal
    Last edited by bigal199; Jun 29th, 2009 at 12:16 AM. Reason: make clearer

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Searching and deleteing files (using wildcards)

    Moved From The CodeBank

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width