Copy or move files by extension
All our teachers use 1 account, and so share a My Documents folder. Works well enough. However, the teachers are putting lots of video in this folder, which is eating up space. There are easily hundreds of videos, so a manual job would drive me insane.
I would like to have a separate mapped drive which will contain only media. What I need to do is move across the existing videos onto the new directory (mapped drive).
I need a script/program which will only copy avi or mpgs, remove it from the orginal source, and create the same directory tree in the new directory. That way staff will be able to find the videos easily. The new directory should basically be a subset of the original, but the directories will only contain video files.
Any thoughts? I've looked at this post already. Karen's replicator doesn't seem to be able to remove the files from the source. Robocopy (GUI) doesn't let you only include certain file extensions- it allows you to exclude certain file extensions, the wrong way round for me.
Any help would be much appreciated. Thanks very much in advance.