GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Windows
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 23-Oct-2007, 22:03
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 749
admin will become famous soon enough

DOS: How to copy only updated (or new) files?


One of the folders I back up off my PC is a folder with large .tar.gz files. Since they are already compressed, I just copy them onto a DVD RAM using the DOS copy command in my script.

Since some of these files are the same since the last update, I want to avoid copying them to the disk again. What is the command, if any, to just copy the files that are updated or new?

This question is related to my backup thread.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #2  
Old 24-Oct-2007, 09:16
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 4,648
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: DOS: How to copy only updated (or new) files?


Quote:
Originally Posted by admin
...using the DOS copy...

Look up xcopy /M. (And/Or read up on the Archive attribute bit and how to manipulate it directly or with 3rd party archival programs.)


http://www.microsoft.com/resources/d....mspx?mfr=true

Regards,

Dave
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you backup your files? JdS Computer Software Forum - Windows 10 22-Oct-2007 20:00
Named virtual host not working Johnnyrotton Apache Web Server Forum 4 04-Sep-2007 20:32
Getting all updated files today on linux/unix system Kirath C Programming Language 9 13-Dec-2006 16:26
Bloodshed Dev C++ Project Options JdS C++ Forum 6 11-Nov-2005 17:23
Can't view pages from another machine on the Intranet aevans Apache Web Server Forum 9 14-May-2004 02:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 00:07.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.