Thursday, August 30, 2012

How To Gather/Extract Files From Many Folders Into a Single Folder

Imagine you have multiple or even hundreds of folder and within each folder there are files. You want to gather all these files into a single folder. Obviously you can copy/paste, drag/drop one file at a time. But it is only make sense if it involve below 10 folders. But for hundreds of folders, it is time consuming. However, there is a way to do it. The quick, simple way.

Tool needed: XXCopy. Click HERE to download.

Extract the archive. You'll get 2 folders 32bit and 64bit. Based on your operating system, open appropriate folder. In my case, 32bit it is.

Run "install.bat" file. Follow on screen instruction. After the installation complete, check your Desktop, there will be a file named "XXConsole.exe".

Run "XXConsole.exe", click OK

















Again check your Desktop, "XXConsole(1)" will appear. Run the program. The program runs in Command Line Interface (CLI) so you have to specify the command you want to run. type "xxcopy" for possible command

Lets give it a try shall we? Below is the scenario:

  • I have folder "oldplace" on my Desktop.  Contains multiple subdirectory and each directory contain the files I want to gather in one place"
  • I alse have a folder namely "newplace" on my Desktop. Here's where the files will be copied to.

The command (xxcopy ):
 "xxcopy C:\Users\pcname\Desktop\oldplace C:\Users\pcname\Desktop\newplace /sg"



Tips:
-to get folder full path address, open the folder, click the address bar
-to get full list of argument, type "xxcopy" in the console.

No comments:

Post a Comment

Your comment is much appreciated. Thanks :)