ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

moving items in sudirectories

(1/3) > >>

MamasBoy:
I use Directory Opus as my Window's Explorer replacement, but this question also applies to Window's Explorer. When you have a folder(directory) with lots of sub-directories and the sub-directories lots of files,and you want to consolidate all the files into a new folder, what do you do? (If I wasn't clear, I apologize. What I'm trying to do i strip-out all the files in all the sub-directories at once and copy/move them to another folder.)Thank you. Martin

MilesAhead:
If the files have unique names and the target folder is not part of the source folder tree, then you could do it in explorer this way: Open the target folder. Go to the source folder. In Search box in source folder enter *.*.  It will display all the matching files.  Press Control-a to select all.  Drag with the mouse into the target. If both folders are on the same drive, it should move the files. A fast operation.  I've never used DO.  So I can't help you there.

See this article for using RoboCopy:

http://blogs.msdn.com/b/jjameson/archive/2009/11/07/using-robocopy-to-move-files-and-folders.aspx

justice:
I'd go with the search box solution, but alternatively use Level

tomos:
With Directory Opus use the flat view.
See this post for description & image:

https://www.donationcoder.com/forum/index.php?topic=32326.msg301004#msg301004

MilesAhead:
You may want to take a look at RichCopy

It's similar to RoboCopy but has a Gui. It's an MS employee written free program. It was the only thing I could find to efficiently copy the entire Windows.old folder over a network to another drive.  Explorer would have spent a couple of days counting the files first. It has some quirks but it's multi-threaded. That was the only time I really used it. But it's one free option to explore(no pun intended.) :)


I wrote a program called RCopy
(RCopy has command line interface only.)

It does a copy rather than a move. But it is somewhat unique in that the target folder may be inside the source folder tree without it being caught up in an endless loop. If the target folder is on a different drive then the "move" is a copy anyway. You'd only be left with the chore of deleting the source files. My main reason for writing RCopy was to copy a bunch of subtitle files into a target folder to make it easy to process them all in batch.

The other unique aspect of RCopy is the actual recursive copy is performed by either a 32 bit or 64 bit app depending on your OS.  This avoids problems with 32 bit emulator folder redirection on 64 bit OS. See the included Readme.txt for usage.

Navigation

[0] Message Index

[#] Next page

Go to full version