Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > General Software

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 24th May 2012, 1:33 PM   #1
supasaiyan Thread Starter
Member
 
supasaiyan's Avatar
 
Join Date: Nov 2006
Location: 3000
Posts: 1,438
Default Moving Files Based on Filename

Anyone know software that can move files based on their filename to designated folders?

ie; 1234.jpg to be moved to folder 1234
4566.avi to be moved to folder 4566

I have the folder's already set up
supasaiyan is offline   Reply With Quote

Join OCAU to remove this ad!
Old 24th May 2012, 1:38 PM   #2
Rezin
Member
 
Rezin's Avatar
 
Join Date: Oct 2002
Posts: 8,015
Default

Running Windows? Are the files all in the same folder? Are the new folders under the one with the files in it? Try this from a prompt (after changing to the required directory):

Code:
for %i in (*.*) do move "%i" "%~ni"
Rezin is offline   Reply With Quote
Old 24th May 2012, 1:51 PM   #3
supasaiyan Thread Starter
Member
 
supasaiyan's Avatar
 
Join Date: Nov 2006
Location: 3000
Posts: 1,438
Default

Quote:
Originally Posted by Rezin View Post
Running Windows? Are the files all in the same folder? Are the new folders under the one with the files in it? Try this from a prompt (after changing to the required directory):

Code:
for %i in (*.*) do move "%i" "%~ni"
yep windows

so it would be like this

C:\files
within this folder, there's all the abc.jpg, 123.avi, 456.gif

I want to move the abc.jpg file to folder called abc
123.avi to a folder call 123
456.gif to folder 456

all the folders have already been created...
supasaiyan is offline   Reply With Quote
Old 24th May 2012, 3:06 PM   #4
Rezin
Member
 
Rezin's Avatar
 
Join Date: Oct 2002
Posts: 8,015
Default

That command should do it then. C:\files\abc.jpg will be moved to C:\files\abc\abc.jpg
Rezin is offline   Reply With Quote
Old 24th May 2012, 3:12 PM   #5
Psychotria
(Banned or Deleted)
 
Join Date: Apr 2012
Posts: 445
Default

I don't understand this thread at all. Why would anyone put single files into single directories/folders of the same name?
Psychotria is offline   Reply With Quote
Old 28th May 2012, 3:31 PM   #6
schmoove
Member
 
Join Date: Oct 2006
Location: Asia
Posts: 365
Default

Quote:
Originally Posted by Psychotria View Post
I don't understand this thread at all. Why would anyone put single files into single directories/folders of the same name?
Could be any number of reasons why they want to.
Perhaps they are movie indexing and want each movie in each individual folder, then they can add artwork, subs, etc to each particular folder.
Who knows?
More importantly...can you help with the OPs original question?

I think bulkrename utility can do this...but it can be a bit hard to use for me. You might fare better

http://www.bulkrenameutility.co.uk/Main_Intro.php
__________________
Trades with: rage, dufflover, ummmz, kimnkk, jlien, Pianist, Boink, Tekin, orndorf, theFish, MAXKNOTT, i4560011, search, antstar, Ma Baker, Dinuc, stuii, Dollie, kr0k, Fettrix, WCE07, Beaistheman, Hardboiled, Opti ....... "Pacman is just a neo-Marxist parable of late capitalism"
"Imagine someone holding forth on biology whose only knowledge on the subject is The Book of British Birds, and you have a rough idea of what it feels like to read Richard Dawkin's on theology"
schmoove is offline   Reply With Quote
Old 29th May 2012, 5:33 PM   #7
Psychotria
(Banned or Deleted)
 
Join Date: Apr 2012
Posts: 445
Default

Quote:
Originally Posted by schmoove View Post
Perhaps they are movie indexing and want each movie in each individual folder, then they can add artwork, subs, etc to each particular folder.
Who knows?
More importantly...can you help with the OPs original question?
(bold mine)

Of course I'd like to help the OP, but there is no point in doing that is the specification/requirement of the OP is not 100% clear... might end up worse off than in the first place if I give a command or batch file to do what I "think" the OP wants but it's not really what the OP wants
Psychotria is offline   Reply With Quote
Old 30th May 2012, 1:52 PM   #8
supasaiyan Thread Starter
Member
 
supasaiyan's Avatar
 
Join Date: Nov 2006
Location: 3000
Posts: 1,438
Default

Quote:
Originally Posted by schmoove View Post
Could be any number of reasons why they want to.
Perhaps they are movie indexing and want each movie in each individual folder, then they can add artwork, subs, etc to each particular folder.
Who knows?
More importantly...can you help with the OPs original question?

I think bulkrename utility can do this...but it can be a bit hard to use for me. You might fare better

http://www.bulkrenameutility.co.uk/Main_Intro.php
this is exactly what i'm doing... will try the link you suggested, thanks
supasaiyan is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 7:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!