DotDragnet
May 21, 2012, 05:33:57 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Automated copying of files/folders?  (Read 2424 times)
slaughteredlamb
DDN Contributor
Hero Member
*****
Posts: 1089



peakoverload
View Profile WWW Awards
« on: June 11, 2007, 11:03:43 AM »

Not sure if this belongs
here or in Tech Stuff (is Tech Stuff just for webby tech stuff or any computer tech stuff??)

Anyway.

Every month we have to make a copy (not a
compressed/consolodated backup but a 1:1 copy) of selected files and folders onto a removable drive to send to another branch. This is SELECTED folders, the drives in question
will have hundreds of other folders that we don't want to copy.

On our network the data is organised like this:

D:\Project Title\Data we want to
copy
E:\Different Title\Data we want to copy
E:\Different Title\Data we want to copy\more data we want to copy

This then gets copied to a removable
drive like this:

R:\catalogue number\uncompressed audio - This is the data on Drive D:
R:\catalogue numer\compress audio - This is the first lot of data on
Drive E:
R:\Sales\Title\compressed audio - This is the 2nd lot of data on Drive E:

At the moment the way we do this is simply to do it manually and drag and
drop the files but this is very time consuming and insanely boring as we are talking about 100+GB a week.

To avoid the boring task of having to constantly create new
folders, sub folders and copy all the files project by project I was wondering if there was a way where you could effectively tell Windows what you need copied, where it should
go and what folder it should create so that you could just set it off and let itself run. Obviously you would still need to enter/type out of all these instructions which
initself might be time consuming but it's still better than having to do it all by hand. Just wondering if you could write a batch file or something?
Logged
chavalier
Guest
« Reply #1 on: June 11, 2007, 11:07:58 AM »

Danz Retrospect will probably do this, I'm not
sure if it creates folders for you
Logged
JasonD
Global Moderator
Hero Member
*****
Posts: 546



View Profile Awards
« Reply #2 on: June 11, 2007, 11:44:27 AM »

Presumably the project titles will vary and
will still need to be input somewhere (and cat no if it can't be looked up), and there is some logic behind what gets copied and what doesn't.

Find someone
who knows their way around WSH (or whatever windows people script in these days), shouldn't be more than an hours work.
Logged
Rosco
Global Moderator
Hero Member
*****
Posts: 917



View Profile Awards
« Reply #3 on: June 11, 2007, 11:56:45 AM »

i'm out the office for the day but
tomorrow i could probably knock you up a simple batch script to do this using the xcopy command, you could run it manually or as a scheduled task

let me know
Logged
slaughteredlamb
DDN Contributor
Hero Member
*****
Posts: 1089



peakoverload
View Profile WWW Awards
« Reply #4 on: June 11, 2007, 02:55:07 PM »

Cheers everyone for your
replies.

I'll see if I can find any windows scripting programs but yes Jason you are right, the project titles will vary as will the catalogue numbers and it
will either be a case of copying everything within a folder or all instances of a .wav file so hopefully logical enough for something to work.

Very interested in your
xcopy command Rosco if you have the time.
Logged
Matt
DDN Contribs
Hero Member
*****
Posts: 1710



View Profile WWW Awards
« Reply #5 on: June 11, 2007, 03:10:19 PM »

We use the xcopy command in a batch file
to run nightly backups 1:1 on a networked storage drive.

I didnt write it, but part of it which might be useful is this, the bit that copies the data.


Code:
rem new backup starts
xcopy /c /h \\server4\didadrive$\*.* d:\didadrive\*.* /s /a /y
xcopy /c /h d:\users\*.* f:\backup\*.* /s /a /y
xcopy
/c /h \\serverm1\o$\*.* f:\ /s /a /y
xcopy /c /h \\serverm1\e$\qca\*.* f:\qca\*.* /s /a /y
xcopy /c /h \\serverd1\e$\adminonly\*.* f:\adminonly\*.*
/s /a /y
xcopy /c /h \\serverm1\software$\reportmasterii\*.* f:\reportmasterii\*.* /s /a /y
xcopy /c /h \\serverm1\public\topics\*.* f:\topics\*.* /s /a
/y
xcopy /c /h \\serverm1\public\stafftopics\*.* f:\stafftopics\*.* /s /a /y




pause
Logged

keri
Sr. Member
****
Posts: 491



View Profile WWW Awards
« Reply #6 on: June 11, 2007, 09:43:33 PM »

If you prefer a GUI there are many tools
kicking about that will do this, one i have heard mentioned before being SyncBack
Logged

Keri
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!