Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > OS & Software > Misc. Software & Utilities

Moving a fix numbers of files to a new folder.

Reply
Bookmark / Share this page
Thread Tools
  #1  
Old 02-07-2008
Newcomer, in training
 
Member since: Feb 2004, 10 posts
Moving a fix numbers of files to a new folder.

Hi all,

I have a folder with around 80,000 files in it and would like to move them to 3000 files in each new folder.

Any suggestion?
Reply With Quote
  #2  
Old 02-07-2008
kimsland's Avatar
TS Special Forces
 
Member since: Dec 2007, 11,711 posts
http://www.bestvistadownloads.com/so...-uhujkzjn.html

By the way the word is COPY and then confirm, then remove old folder
ie sometimes move faults and then you may be unsure where's what.

Anyway check out the above link
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 02-07-2008
Newcomer, in training
 
Member since: Feb 2004, 10 posts
Thanks, but this software doesn't have the 3000 files per folder option?
Reply With Quote
  #4  
Old 02-07-2008
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,612 posts
the problem with COPY is keeping track of what was copied vs than remaining,
using move will show you what's left to be done.

if there's a problem, MOVE will stop and leave the remainder in the Source dir.

two means to this task; GUI move vs command line move

1- GUI
get two folders in Explorer (a) the source and (b) the target window
on the (a) window select the top file, scroll to some lower name, hold the SHIFT KEY and click. (ie multiple select).
Let go of SHIFT and right-click the last file and DRAG the selection into the (B) window
you get a menu - COPY or MOVE; pull down to MOVE
interate back and do it again
2- command line
get a cmd prompt; then CD into the source directory

Code:
C:\Documents and Settings\Jeff>move /?
Moves files and renames files and directories.

the issue here is moving a group of files like *.exe or *.jpg
moving ONLY one kind of files (say pictures *.jpg) you could do it
move a*.jpg targetA\ move b*.jpg targetB\ .... move z*.jpg targetZ\
To move one or more files: MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination To rename a directory: MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2 [drive:][path]filename1 Specifies the location and name of the file or files you want to move. destination Specifies the new location of the file. Destination can consist of a drive letter and colon, a directory name, or a combination. If you are moving only one file, you can also include a filename if you want to rename the file when you move it. [drive:][path]dirname1 Specifies the directory you want to rename. dirname2 Specifies the new name of the directory. /Y Suppresses prompting to confirm you want to overwrite an existing destination file. /-Y Causes prompting to confirm you want to overwrite an existing destination file. The switch /Y may be present in the COPYCMD environment variable. This may be overridden with /-Y on the command line. Default is to prompt on overwrites unless MOVE command is being executed from within a batch script.
Reply With Quote
  #5  
Old 02-07-2008
Newcomer, in training
 
Member since: Feb 2004, 10 posts
Thanks, I understand the using of Explorer but is there is earlier way or tool that I can do it once instead of :

For 80000 files I need:
Create 27 folders.
Count 3000 files before draging over.

As I may have other folders or in future got to create 2000 files per folder instead.

Thanks for all reply.
Reply With Quote
  #6  
Old 02-08-2008
Newcomer, in training
 
Member since: Feb 2004, 10 posts
Found this FREE.... Yes, Free but too bad its for MAC OS only... How I wish I have one piece of that :

http://www.qtsync.com/foldersplitter.php
Reply With Quote
  #7  
Old 02-08-2008
kimsland's Avatar
TS Special Forces
 
Member since: Dec 2007, 11,711 posts
Folder Splitter supports Windows All
http://www.bestvistadownloads.com/so...-aojsyppv.html
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #8  
Old 02-08-2008
Newcomer, in training
 
Member since: Feb 2004, 10 posts
Looks like there is no free for windows
Reply With Quote
  #9  
Old 02-08-2008
kimsland's Avatar
TS Special Forces
 
Member since: Dec 2007, 11,711 posts
I meant to write in the $ too, sorry, I quickly forgot
Reply With Quote
  #10  
Old 02-08-2008
jobeard's Avatar
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,612 posts
Quote:
Originally Posted by MaMister
Thanks, I understand the using of Explorer but is there is earlier way or tool that I can do it once instead of :

For 80000 files I need:
Create 27 folders.
Count 3000 files before draging over.

As I may have other folders or in future got to create 2000 files per folder instead.

Thanks for all reply.
the command line MOVE is still a viable option. to see what would occur without actually moving anything,
get the cmd prompt, cd to the dir and enter
dir a*.*
all the Axxx.xx files will be shown. Moving in this manner would subset the original dir into 26 subsets.
From there, you could move specific pieces to what you really intended.

If you had a CYGWIN environment, you could script the move by some criteria, eg date, groups of 2000, ...
Reply With Quote
  #11  
Old 02-08-2008
Newcomer, in training
 
Member since: Feb 2004, 10 posts
Found this post.

http://www.pcreview.co.uk/forums/thread-1973448.php

Hope that help someone too....
Reply With Quote
Reply
Thread Tools

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Folder problem with Partition Magic, can't open merged files/folder. Underwear Storage & Networking 3 01-30-2008 09:02 PM
Moving Windows XP's Documents and Settings Folder. IVIr Windows OS 3 01-10-2007 07:35 PM
Moving files from PC#1 to PC#2 through Ethernet??? hadubnano Windows OS 6 12-29-2004 04:52 PM
Moving Files from XP to XP Jay Peterman Storage & Networking 2 08-23-2004 10:55 AM
Moving The Internet Exporer History Folder WinMEHistroy Windows OS 0 06-15-2002 06:33 AM


All times are GMT -4. The time now is 03:17 PM.