Searching periods in all file names

claudineintexas

Junior Member
Jan 25, 2015
2
0
0
Is there a way to search for names containing periods that will exclude the file extension? For example, I have two .txt files, one named "Jane Smith" and another named "Jane.Smith". If I try and do an advanced search, it will show both files because they both end with the .txt extension. I need to remove all periods in file names to migrate my files to OneDrive for Business on SharePoint 2013, and I have literally thousands of files to go through to find the ones that must be renamed.

If this is the wrong forum please let me know.

I appreciate any help solving this issue!
 

Lorne

Senior member
Feb 5, 2001
873
1
76
Use quoats, ie, "Jane.Smith" or even "e.S", The caps may not matter unless you specify select exact spelling, But that may give zero return.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,552
429
126
Use any app that can do Global File Find (Win 7 search would do too).

Put in the search parameters *.*.txt or and *.*.doc etc.



:cool:
 

Mushkins

Golden Member
Feb 11, 2013
1,631
0
0
Use any app that can do Global File Find (Win 7 search would do too).

Put in the search parameters *.*.txt or and *.*.doc etc.



:cool:

Yeah, you're gonna have to break it down to explicit filetypes if you're just using windows search. A more robust searching/indexing app would be able to use something like "*.*".* to find all filenames with a period in them.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,552
429
126
Yeah, you're gonna have to break it down to explicit filetypes if you're just using windows search. A more robust searching/indexing app would be able to use something like "*.*".* to find all filenames with a period in them.

Unfortunately there are many system (and other unrelated) files that have "." in the middle

If I put *.*".* in searching my drive I get a list of few thousand files, only 20 of them is with the type of extensions that the OP is looking for.

It takes much less time to put few lines with .txt .doc .docx and few other extensions than to sift through everything.




:cool:
 

Binky

Diamond Member
Oct 9, 1999
4,046
4
81
Sounds like you need a renaming utility, not just a search utility. Check out Bulk Rename Utility. I think it can do what you're asking, for free. Be sure to try on a test folder first!
 

nickbits

Diamond Member
Mar 10, 2008
4,122
1
81
DIR *.* /S >somefile.txt

then open that in a text editor and use a regular expression
 

takeru

Golden Member
Jan 1, 2002
1,206
8
81
a powershell script could easily find all files like that, move all files with "." in the filename, then rename them after move.
 

tynopik

Diamond Member
Aug 10, 2004
5,245
500
126
sounds like you need a solution that doesn't choke on periods in a filename. What is this? The 80s?
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
DIR *.* /S >somefile.txt

then open that in a text editor and use a regular expression

Came to say this, but with one variation:
dir *.*.* /s/b>output.txt

...but I just tested and it seems to return *all* files and folders. Even these variations returned EVERYTHING:
dir *?.?*.* /s/b>output.txt
dir *?*.*?*.* /s/b>output.txt

I dunno...
 
Last edited: