Usage: CMDBackup <sourcefolder> <targetfolder> <history> <filter>
<sourcefolder> Folder to copy
<targetfolder> Folder to copy into
<history> Days of history to keep. Anything older gets deleted. 0 = forever
<filter> Optional: Comma delimited string of file extenstions to include. (exp: .pdf,.docx,.doc,.xls). Defaults to all files.

Example: To backup common Office documents, keeping 30 days of history, use:

CMDBackup.exe C:\Users\Andrew\Documents D:\backupfolder 30 .doc,.xls,.pdf,.docx,.xlsx,.mdb


Example: To backup all of your "My Documents" folder with no history limit, use:

CMDBackup.exe C:\Users\Andrew\Documents D:\backupfolder 0

Last edited Nov 24, 2011 at 1:55 AM by agrothe, version 1

Comments

agrothe Apr 7, 2015 at 11:58 PM 
History means it deletes backup folders older than X days.

kfp Jul 31, 2013 at 1:47 AM 
Tried it and it works just fine. Not sure exactly what history means. If a file is older then number supplied it doesn't get copied??