Jump to content

How can I move all multimedia files to another drive?


Recommended Posts

Posted

We've run out of space on our back up tape. I want to move off all the multimedia files.

 

I've backed up all our files to our exteranl 1TB drive using robocopy as an end of year backup.

 

I now want to move all the multimedia(.MP3, .MOV, .WMV, .JPG, .AVI) files to another drive but keep the directory structure. Are there any files types I've missed from the list?

 

I also suspect there are loads of duplicate files on the file server. Is there a way to find them?

 

Any ideas?

Posted

If the problem is the back up tape, you could just exclude those filetypes from the back up but you need to be careful as some of the files could be work related etc.

 

Alternatively, something like Tree Size might be helpful as far as indicating where the space is being occupied if there's anything you could do there.

 

Do you have quota's enabled?

 

Finally, to actually keep the structure you could possibly script something to traverse the folders and move said filetypes out of the way, it looks as though rsync could do this on linux with --exclude=* followed by --include=*.mp3 or so.

 

Hope this helps give a little more.

Posted

if you've got a question which says "how do I move/copy" on a network then the answer's probably robocopy :-)

 

robocopy \\server1\oldshare \\server2\newshare /move *.mp3 *.wma *.jpg

  • Thanks 3
Posted

Some great suggestions. Thank. I've just started to use TreeSize Free to find out where all these files are and how much space they are taking up!

 

I didn't think robocopy could take file extensions:

Names of files and wild-card designations (such as "*.*") are not acceptable as source or destination

[ame=http://en.wikipedia.org/wiki/Robocopy]robocopy - Wikipedia, the free encyclopedia[/ame]

  • Thanks 1
Posted

Robocopy just works slightly differently to say xcopy, you specify the source folder, then destination, then file type(s).

 

Using xcopy you'd specify source folder and file(s), and then the destination folder.

 

Steve

Posted

I'd guess this is just one of those things where Wikipedia is wrong (shock, horror!!)

 

type:

 

robocopy /?

and it says:

 

Usage :: ROBOCOPY source destination [file [file]...] [options]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...