![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Nov 2006
Location: 3000
Posts: 1,438
|
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 |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Oct 2002
Posts: 8,015
|
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" |
|
|
|
|
|
#3 | |
|
Member
Join Date: Nov 2006
Location: 3000
Posts: 1,438
|
Quote:
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... |
|
|
|
|
|
|
#4 |
|
Member
Join Date: Oct 2002
Posts: 8,015
|
That command should do it then. C:\files\abc.jpg will be moved to C:\files\abc\abc.jpg
|
|
|
|
|
|
#5 |
|
(Banned or Deleted)
Join Date: Apr 2012
Posts: 445
|
I don't understand this thread at all. Why would anyone put single files into single directories/folders of the same name?
|
|
|
|
|
|
#6 | |
|
Member
Join Date: Oct 2006
Location: Asia
Posts: 365
|
Quote:
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" |
|
|
|
|
|
|
#7 | |
|
(Banned or Deleted)
Join Date: Apr 2012
Posts: 445
|
Quote:
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
|
|
|
|
|
|
|
#8 | |
|
Member
Join Date: Nov 2006
Location: 3000
Posts: 1,438
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|