![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
| Scripts If you need or have any scripts then get 'em here. |
| ||
| | | LinkBack | Thread Tools | Search Thread |
| Sponsored Links |
| | #1 |
![]() Join Date: Feb 2008
Posts: 53
Thanks: 16
Thanked 1 Time in 1 Post
Rep Power: 0 | |
| |
| | #2 |
![]() Join Date: Jul 2007 Location: Rural heck
Posts: 1,387
Thanks: 46
Thanked 144 Times in 120 Posts
Rep Power: 47 | You should be able to do this with Robocopy. |
| |
| | #3 |
![]() Join Date: Feb 2008
Posts: 53
Thanks: 16
Thanked 1 Time in 1 Post
Rep Power: 0 | Thanks I have kust figured this out will the following work ROBOCOPY \\Server1\reports \\Server2\backup *.doc /S Where do I need to put robocopy or is it built into windows?? |
| |
| | #4 |
![]() Join Date: Aug 2007 Location: South Cumbria
Posts: 339
Thanks: 110
Thanked 36 Times in 34 Posts
Rep Power: 15 | what you need isn't xcopy, but robocopy.exe (yes, really!) a copy is attached. I've attached it to this message - just unzip and stick it in your Windows folder so the Path points to it then from a command prompt type "robocopy /?" to get all the parameters, of which there are many! use "/mir" with extreme care, it's particularly powerful but potentially destructive!! |
| |
| Thanks to TonyRidal from: | itgeek (04-06-2009)
|
| | #5 |
![]() Join Date: Jul 2005 Location: Hereford
Posts: 1,052
Thanks: 103
Thanked 167 Times in 58 Posts
Rep Power: 39 | This should do it for you: robocopy.exe [source] [destination] [flags] robocopy.exe /? will giove you the other [flags] that you can use. |
| |
| Thanks to ICTNUT from: | itgeek (04-06-2009)
|
| | #6 |
![]() Join Date: Feb 2008
Posts: 53
Thanks: 16
Thanked 1 Time in 1 Post
Rep Power: 0 | Thanks I will download and have a play. Just one more question? If I wanted to delete files in a folder more that 5 days old, does any no how to do this? Thanks |
| |
| | #7 | |
![]() Join Date: Nov 2007 Location: Leeds
Posts: 195
Thanks: 21
Thanked 28 Times in 27 Posts
Rep Power: 9 | I found this VBS script somewhere on the net, and use it to delete files more than 30 days. Just edit the path and days (calcresult)... Quote:
| |
| |
| Thanks to terrorvis from: | itgeek (04-06-2009)
|
| | #8 |
![]() Join Date: Jul 2005
Posts: 1,299
Thanks: 14
Thanked 57 Times in 44 Posts
Rep Power: 24 | You could also use RichCopy - robocopy's replacement from here It does the same, has a GUI as well as command line and is multi-threaded - so should be quicker |
| |
| Thanks to SpuffMonkey from: | TonyRidal (05-06-2009)
|
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| samba, acls, xcopy | CyberNerd | *nix | 1 | 30-05-2007 02:50 PM |
| Tags |
| .bat , scripts , sims.net , xcopy |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
| |








