skip to main | skip to sidebar

Joe the SysAdmin

Stuff I've forgotten once, probably will forget again, and should write down...

Wednesday, August 10, 2011

Robocopy a directory of source files

robocopy /s source_dir dest_dir /xd .svn obj

/xd excludes directories (skip .svn and obj directories)

robocopy /s . /xd .svn obj target* /xf *.vtg *.o /maxage:1
/maxage:1 only copies files less than one day old (i.e. stuff I've changed in the last day)
Posted by Joe at 3:41 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2016 (3)
    • ►  December (1)
    • ►  November (1)
    • ►  July (1)
  • ►  2012 (6)
    • ►  October (3)
    • ►  July (1)
    • ►  June (2)
  • ▼  2011 (9)
    • ▼  August (4)
      • Accidentally Shutting Down
      • Robocopy a directory of source filesrobocopy /s so...
      • PowerDVD 8 on Win7 After rebuilding my Win7 PC, I ...
      • Thumbs up for the Sony Ericsson MW600 Bluetooth He...
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  February (1)
  • ►  2010 (2)
    • ►  November (1)
    • ►  October (1)
  • ►  2008 (5)
    • ►  November (2)
    • ►  August (1)
    • ►  April (1)
    • ►  March (1)
  • ►  2007 (6)
    • ►  August (1)
    • ►  May (1)
    • ►  January (4)
  • ►  2006 (4)
    • ►  December (4)

About Me

Joe
View my complete profile