Video files

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
bobmarker
Posts: 2
Joined: 24 Aug 2010 15:56

Video files

#1 Post by bobmarker » 24 Aug 2010 16:10

Hi everyone! Please help me! :)

I shoot video for a guy on a Sony EX1 camera. It's a sweet solid state camera. The only problem is every clip is organized into its own folder with 5 metadata files (1 big MP4 clip with 5 small other XML files) . Not a problem if there is only a few clips. But when we are out on a shoot, sometimes I end up with 200+ clips, and therefore 200+ folders.

All the files need to be extracted from their folders individually and copied back to their root. I'm doing this one by one now and it's a major pain!

EXAMPLE
Here's what I mean. Each card will have a filing structure similiar to this:
/CLIP 1
/CLIP 2
/CLIP 3
/CLIP 4
Etc.

Each directory/folder will have something like this:

/CLIP 1/clip 1.mp4 400,000 KB
/CLIP 1/clip 1.smi 1 KB
/CLIP 1/clip 1.xml 2 KB
/CLIP 1/clip 1.bim 2,700 KB
/CLIP 1/clip 1.xmp 4 KB

Similiar contents for each.

I want to be able to batch run and copy OUT OF EACH FOLDER every single file and paste/copy them back to the root folder where all the /CLIP # folders are at.

So the root folder would have:

clip 1.mp4
clip 2.mp4
clip 3.mp4
clip 1.smi
clip 2.smi
clip 3.smi,

So the batch file would need to go in to each folder, pull out ALL CONTENTS and copy it back to the root.

This would be a LIFE SAVER!!!

bobmarker
Posts: 2
Joined: 24 Aug 2010 15:56

Re: Video files

#2 Post by bobmarker » 24 Aug 2010 16:18

In other words, I need the batch file to go through each folder and extract *.* all files out and put them back in the base (or other) directory.

orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: Video files

#3 Post by orange_batch » 25 Aug 2010 06:49

Hey bob, if you're on Windows open the main folder, press F3 and search for * (with include sub folders on). Arrange Icons By Name, then select all the files, Copy or Cut, go Back to the main folder, and paste it.

Post Reply