Go Back   Computer Juice > Computer Software > Windows Operating Systems
Register Points Site Spy New Posts Donate Unanswered Posts Search Forum Rules


Reply
 
LinkBack Thread Tools
  #1  
Old 23rd Mar 2008, 08:13 AM
MJM's Avatar
MJM  United Kingdom
Donor Group
Intel Nvidia
MJM is offline
 
Join Date: 21st Nov 2007
Last Online: Yesterday 06:49 AM
Age: 21
Posts: 317
iTrader: (0)
MJM is on a distinguished roadMJM is on a distinguished road
Default CMD command to compare file modified?

Hi,

I've got a batch file that I run once a week that copies certain files to a backup directory.
Now the thing is some of these files are very large (video edits) and I don't want to copy them if they haven't been modified since the last backup.
Is there a command I can use to compare the modified dates?
Would save me a great deal of pain instead of having to just overwrite everything.
Another thing though... I set folders to be copied. Can I do it so it checks every file within that folder instead of having to list the files individually (which would be impossible for some folders)?
__________________

My System: Toshiba Satellite A200-28P

CPU(s):
Intel Core 2 Duo T8100
Motherboard:
Mobile Intel PM965 Express Chipset
RAM:
1024 + 2048MB DDR2 667
Graphics Card(s):
ATI HD 2600 XT
Sound Card:
Toshiba Bass Enhanced Sound System
Hard Drive(s):
200GB 5400RPM
Optical Drive(s):
DVD Super Multi
Case / PSU:
Satellite A200 Series
Cooling:
Stock
Network / Internet:
Intel 4965AGN
Monitor(s):
15.4" 1,280x800 Toshiba TruBrite WXGA
Operating System(s):
Windows Vista SP1 / Fedora i386

Want your system info in your signature?
Digg this postDel.icio.us this postReddit this post Stumble this postFacebook this post
Reply With Quote

  #2  
Old 23rd Mar 2008, 08:45 AM
Mike0001's Avatar
Donor Group
Intel Nvidia
Mike0001 is offline
 
Join Date: 30th Aug 2007
Last Online: 20th Nov 2008 02:11 PM
Posts: 1,160
iTrader: (0)
Mike0001 will become famous soon enoughMike0001 will become famous soon enoughMike0001 will become famous soon enough
Default CMD command to compare file modified?

Is this on Windoze? Download synctoy from Microsoft!

http://www.microsoft.com/downloads/d...displaylang=en
__________________
I think I am a signature, therefore I exist!
I believe a higher being has me as a signature...

Last edited by Mike0001 : 23rd Mar 2008 at 08:47 AM.
Digg this postDel.icio.us this postReddit this post Stumble this postFacebook this post
Reply With Quote
  #3  
Old 24th Mar 2008, 08:21 AM
MJM's Avatar
MJM  United Kingdom
Donor Group
Intel Nvidia
MJM is offline
 
Join Date: 21st Nov 2007
Last Online: Yesterday 06:49 AM
Age: 21
Posts: 317
iTrader: (0)
MJM is on a distinguished roadMJM is on a distinguished road
Default CMD command to compare file modified?

Originally Posted by Mike0001 View Post
Is this on Windoze? Download synctoy from Microsoft!

http://www.microsoft.com/downloads/d...displaylang=en
Yes, it's Windows, but I would definately prefer a batch file I can run instead of this stupid app.
__________________

My System: Toshiba Satellite A200-28P

CPU(s):
Intel Core 2 Duo T8100
Motherboard:
Mobile Intel PM965 Express Chipset
RAM:
1024 + 2048MB DDR2 667
Graphics Card(s):
ATI HD 2600 XT
Sound Card:
Toshiba Bass Enhanced Sound System
Hard Drive(s):
200GB 5400RPM
Optical Drive(s):
DVD Super Multi
Case / PSU:
Satellite A200 Series
Cooling:
Stock
Network / Internet:
Intel 4965AGN
Monitor(s):
15.4" 1,280x800 Toshiba TruBrite WXGA
Operating System(s):
Windows Vista SP1 / Fedora i386

Want your system info in your signature?
Digg this postDel.icio.us this postReddit this post Stumble this postFacebook this post
Reply With Quote
  #4  
Old 25th Mar 2008, 01:05 PM
Mike0001's Avatar
Donor Group
Intel Nvidia
Mike0001 is offline
 
Join Date: 30th Aug 2007
Last Online: 20th Nov 2008 02:11 PM
Posts: 1,160
iTrader: (0)
Mike0001 will become famous soon enoughMike0001 will become famous soon enoughMike0001 will become famous soon enough
Default CMD command to compare file modified?

SyncToy v2.0 Beta


There is a cmdline version called synctoycmd which takes a parameter

"c:\Program Files\SyncToy 2.0 Beta\SyncToyCmd.exe" -R"folderpairname"
__________________
I think I am a signature, therefore I exist!
I believe a higher being has me as a signature...
Digg this postDel.icio.us this postReddit this post Stumble this postFacebook this post
Reply With Quote

Please support this forum, donate towards our running costs.
Reply

Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command and Conquer: 3 Tiberium Wars (PC) sally5027 PC & Console Gaming 9 5th Oct 2008 06:58 AM
Linux Distros - Compare - downloads ashaiba Linux & Alternative OS 13 7th Mar 2008 03:04 PM
Command and conquer generals mxmad32 PC & Console Gaming 1 29th Nov 2007 08:39 PM
Compare and constrast two Operating... J.T.R Windows Operating Systems 1 31st Mar 2007 06:14 AM
sql command delete..? angel_winx84 Web Design, Hosting & SEO 1 19th Mar 2007 08:01 PM


Copyright ©2006 - 2008 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.