Download Latest Version copymik_v2_28_9_beta.zip (5.0 MB)
Email in envelope

Get an email when there's a new version of CopyMik

Home / CopyMik 2.13b build 12
Name Modified Size InfoDownloads / Week
Parent folder
copymik_v2_13_12_beta.zip 2016-05-11 2.3 MB
history_en.txt 2016-05-11 10.3 kB
history_ru.txt 2016-05-11 16.7 kB
md5_v2_13R12.txt 2016-05-11 46 Bytes
readme_engl.txt 2016-05-11 31.9 kB
readme_rus.txt 2016-05-11 56.3 kB
Totals: 6 Items   2.4 MB 0
Site: http://www.superbasis.de/copymik/index.htm

CopyMik - freeware program for a complex copy, rename (inclusive transliteration), encrypt, decrypt, compress, decompress, backup, restore files and folders.

Unlike robocopy and xcopy program CopyMik has a rename, compression and encryption,
allows the use of several masks at the same time for each key.
The keys are separated for files and folders.
Eliminates the use of scripts to copy. For example: copy the structure of folders and folders
under suitable mask with the content.
CopyMik is useful for creating backup copies of files mirroring repeat folder structure.
allows you to exclude from the backup or rename in the case of the existence of files and folders.
Supports copy acsess rights to files and folders separately. When copying files perhaps their encryption or decryption, compress or decompress, optionally encrypted/compressed files can be renamed in the forward and reverse directions.
Available 12 different encryption algorithms that enables consistent encryption of several different algorithms (compulsive encryption), and this in turn greatly hinders breaking and decryption.
Contains many other useful features.

CopyMik 2.13 Beta Build 12 (Freeware)
for Windows
rusmikleАТgmail.com Mikhail Tchervonenko 2016

Important: The author is not liable for any consequences of the program CopyMik.
CopyMik program is in testing phase and may contain errors!
By launching this program CopyMik you fully accept the responsibility for her work CopyMik on yourself.

For the correct display of all characters of national alphabets are applied in the names of files and folders made CopyMik console output encoding utf8, respectively. for proper display of texts with national symbols must use the appropriate font in the console or change the output encoding - key / CP


Help information for CopyMik


copymik.exe SourceDir TargetDir [Keys]

SourceDir and TargetDir - can contain predefined variables: {DATE} - current date, {DATETIME} - the current date and time (format variable {DATETIME} you can change with this key /DTF), {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week

Keys:
[/MF[ FileMask1[ FileMask2[ ....]]]] Mask for copied files (default *)
[/MD[ DirMask1[ DirMask2[ ....]]]] Mask for copied folders (default *)
[/XCD [DirMask1[ DirMask2[ ....]]]] Do not copy folders with the specified mask (default mask *)
[/XCF [FileMask1[ FileMask2[ ....]]]] Do not copy files with the specified mask (default mask *)
[/XDMD DirMask1[ DirMask2[ ....]]] Do not check the mask folder (/MD) in a folder with the specified mask (will use a mask *)
[/XDMF DirMask1[ DirMask2[ ....]]] Do not check the mask file in the folder with the specified mask (will use a mask *)
[/XSD] Exclude the folders that are not copied when you copy/reset security attributes
[/XSF] Exclude the files that are not copied when you copy/reset security attributes
[/SEXF[ FileMask1[ FileMask2[ ....]]]] Skip files if they already exist. Check only files with the specified mask. (default mask *)
[/RF[ FileMask1[ FileMask2[ ....]]]] Rename the file if it already exists (ignored by /OF key). Rename only files with the specified mask (default mask *).
[/OF[ FileMask1[ FileMask2[ ....]]]] Overwrite existing files. Overwrite only files with the specified mask (default mask *).
[/SOLDF[ MaskeFile1[ MaskeFile2[ ....]]]] Do not overwrite files with a later modification date (overwrite only old files). Check only files with the specified mask. (default mask *). It used only in conjunction with the key /OF
[/SNEWF[ FileMask1[ FileMask2[ ....]]]] Just copy the files to the new date of the change. Check only files with the specified mask. (default mask *). It used only in conjunction with the key /OF
[/SDTSF[ FileMask1[ FileMask2[ ....]]]] Skip the files with the same modification date and size. Check only files with the specified mask. By encryption and decryption is not checked and always overwritten. (default mask *). It used only in conjunction with the key /OF
[/DELF [MaskeFile1 [MaskeFile2 [....]]]] After a successful backup/compression/encryption to delete files in the source folder specified by the mask. (default mask * - All)
[/DELFD [MaskeDir1 [MaskeDir2 [....]]]] Limits the action key /DELF to source folders with specified masks. (default mask * - All)
IMPORTANT!!! keys /DELF and /DELFD work only for successfully copied/compressed/rename the file and do not work in combination with the keys /DNSF or /MIR
[/MD5[ FileMask1[ FileMask2[ ....]]]] Copy only files with checksum mismatch. Check only files with the specified mask. By encryption and decryption is not checked and always overwritten. (default mask *). It used only in conjunction with the key /OF. Watch Out !!! Checksum slows down the copy operation. In most cases, use the key /SDTSF in combination with a key /OF
[/SZF NSizeBytes] Copy/compress/encrypt only files larger than or equal to NSizeBytes bytes
[/SZT NSizeBytes] Copy/compress/encrypt only files of less than or equal NSizeBytes bytes
[/TM [Nsec]] Copy/compress/encrypt files only with the date and time of change within the last Nsec seconds (counting from the current time). Default Nsec = 3600 (one hour)
[/DT[ Ndays]] Copy/Compress/Encrypt only files with the date of last change within the last Ndays days (counting from the current date, time is discarded and does not count). By default Ndays=0 day (today)
[/DTS DD.MM.YYYY] Copy/Compress/Encrypt files only with the date of change greater than or equal DD.MM.YYYY date (eg. 01.09.2015) (where DD - day of the month, MM - month, YYYY - year. It is important - leading zeros are required!
[/DTE DD.MM.YYYY] Copy/Compress/Encrypt files only with the date change less than or equal DD.MM.YYYY date (eg. 01.09.2015) (where DD - day of the month, MM - month, YYYY - year. It is important - leading zeros are required!
[/DNSF[ FileMask1[ FileMask2[ ....]]]] Delete files if there is no source files. Delete only files with the specified mask. (default mask *)
[/DNSD[ DirMask1[ DirMask2[ ....]]]] Delete folders if there is no source folders. Delete only folders with the specified mask. (default mask *)
[/MIR] [ FileMask1[ FileMask2[ ....]]]] equivalent combination of keys: /MF [ FileMask1[ FileMask2[ ....]]]] /MD /CSF /OF [ FileMask1[ FileMask2[ ....]]]] /DNSF [ FileMask1[ FileMask2[ ....]]]] /DNSD (default mask *)
IMPORTANT!!! Renaming files can automatically disable the mirroring function (/MIR and the like). The exceptions are the keys to add or remove file extensions in compression, decompression, compression and decompression /COADD /DECODEL /CRADD /DECRDEL.
[/NCD] Do not create a folder tree (all files copied to TargetDir folder)
[/RFA[ FileMask1[ FileMask2[ ....]]]] Reset file attributes (set Archive). Only files with the specified mask. (default mask *)
[/RDA[ DirMask1[ DirMask2[ ....]]]] Reset folder attributes. Only folders with the specified mask. (default mask *)
[/CSF[ FileMask1[ FileMask2[ ....]]]] Copy file security attributes. Only files with the specified mask. (default mask *)
[/CSD[ DirMask1[ DirMask2[ ....]]]] Copy folder security attributes. Only folders with the specified mask. (default mask *)
[/CTF[ MaskeFile1 [MaskeFile2 [....]]]] Copy the last record date of creation, last access and change files. Only files matching the mask. (Default mask * - All)
[/CTD[ MaskeDir1[ MaskeDir2[ ....]]]] Copy the last record date of creation, last access and change folders. Only folders matching the mask. (Default mask * - All)
------------------------------------------- File rename functions ------------------------------------------
[/NOF[ MaskeFile1[ MaskeFile2[ ....]]]] Normalize (transliterated) filenames. Only files matching the mask. (default mask * - All)
[/NOD[ MaskeDir1[ MaskeDir2[ ....]]]] Normalize (transliterated) folder names. Only folders matching the mask. (default mask * - All)
[/LANG language] Priority language transliteration. (default RU) Possible values: RU-Russian, JBR-Hebrew, HY-Armenian, UK-Ukrainian, BE-Belarusian, EL-Greek, KA-Georgian, LT-Lithuanian, TG-Tajik, KK-Kazakh, DE- German, SP-Spanish, FR-French, IT-Italian
[/STRF SeekingLine1 = NewLine1 [SeekingLine2=NewLine2 [....]]] Replace strings in file names (instead of spaces to write {SP}). Default replacement are case sensitive (see key / ICF) in key / STRF can use predefined variables {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {CRDATETIME} - date and time the file was created, {LADATETIME} - date and time of last access, {LWDATETIME} - date and time of last modification, {FSIZE} - file size, {FDOS} - dos filename, {FMD5} - file hash md5 (checksum, be careful! It slows down the process of copying), {NUMBER} - serial number of the file in the folder, {FNUMBER} serial number of the file when copying, {DNUMBER} - serial number of folders for copying, {FNAMEEXT} - file name and extension, {FNAME} - the name of the file, {FEXT} - file extension, {QUOTE} - double quote, {EQUAL} - symbol =
'[/ICF] replace switches in the key / STRF on case insensitive
[/STRD SeekingLine1 = NewLine1 [SeekingLine2=NewLine2 [....]]] Replace the line in folder names (instead of spaces to write {SP}) Default replacement are case sensitive (see key / ICD in the key / STRD can use predefined variables {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {DNUMBER} - serial number of folders for copying, {DNAME} - folder name, {QUOTE} - double quote, {EQUAL} - symbol =
[/ICD] replace switches in the key / STRD on case insensitive
[/DTF [Mask date]] mask the date and time to output (used in variables {DATETIME} {CRDATETIME} {LADATETIME} {LWDATETIME}). (default mask yyyymmddhhnnss)
Date mask can contain the following control characters:
y = Year of the last 2 digits, yy = year from the last 2 digits, yyyy = year 4-digit, m = number of the month without 0, mm = month number as 2 digits, mmm = Month using ShortDayNames (Jan), mmmm = month using LongDayNames (January), d = number without 0, dd = 2 as the number of digits, ddd = number using ShortDayNames (Sun), dddd = number using LongDayNames (Sunday), ddddd = number in ShortDateFormat, dddddd = number in LongDateFormat, c = Using ShortDateFormat + LongTimeFormat, h = hour without 0, hh = hour as a 2 digit, n = minutes without 0, nn = minutes as 2 digits, s = seconds without 0, ss = Seconds as 2 numbers, z = Milliseconds without 0, zzz = Milliseconds as 2 digits, t = Using ShortTimeFormat, tt = Using LongTimeFormat and any other permissible in file names and folder symbols.
IMPORTANT!!! By default, rename disables the mirroring function (/MIR and the like). The exceptions are the keys to add or remove file extensions in compression, decompression, compression and decompression /COADD /DECODEL /CRADD /DECRDEL. Using key /ALWAYS be returned mirroring functionality. If you use the /ALWAYS keep in mind that all of the renamed files are deleted in the target folder if they are not present in the original folder. In fact, in the target folder will remain not only the renamed files
------------------------------------------- File encrypt functions ------------------------------------------
[/CR[ MaskeFile1[ MaskeFile2[ ....]]]] Encrypt files with these masks (Within the limits of keys /MF,/MD,/XCD,/XCF,/XDMD,/XDMF). (default mask *)
[/CREX MaskeFile1[ MaskeFile2[ ....]]] Not encrypt files with these masks. (Within the constraints of the key /CR)');
[/CRM Algorithm] Change encryption algorithm. (default DES *). Possible values: DES, BLOWFISH, CAST128, 3DES, ICE, THINICE, ICE2, RC2, RC4, RIJNDAEL, SERPENT, TEA, TWOFISH
[/CRADD[ Text]] When you encrypt a file name to add text (default .cmcrypt)
[/CRPASS Password] Password for encryption
------------------------------------------- File decrypt functions ------------------------------------------
[/DECR[ MaskeFile1[ MaskeFile2[ ....]]]] Decrypt files with this mask. (Within the limits of keys /MF,/MD,/XCD,/XCF,/XDMD,/XDMF) (default mask *)
[/DECREX MaskeFile1[ MaskeFile2[ ....]]] Not decrypt files with this mask. (Within the constraints of the key /DECR)
[/DECRM Algorithm] Change decryption algorithm. (default DES *). Possible values: DES, BLOWFISH, CAST128, 3DES, ICE, THINICE, ICE2, RC2, RC4, RIJNDAEL, SERPENT, TEA, TWOFISH
[/DECRDEL[ Текст]] By decryption remove from file name text (default .cmcrypt)
[/DECRPASS Password] Password for decryption
IMPORTANT!!! for encryption, CopyMik not introducing an encrypted file password and a sign of the encryption algorithm. If you incorrectly type your password, or choose different from that used in the encryption algorithm decryption error message will not be shown. Decoding pass through, it is clear that in this case the data will not correspond to those that have been encrypted. Storing the password and the encryption algorithm is entirely the responsibility of the user.
------------------------------------------- File compress functions ------------------------------------------
[/CO[ MaskeFile1[ MaskeFile2[ ....]]]] Compress files with these masks (Within the limits of keys /MF,/MD,/XCD,/XCF,/XDMD,/XDMF). (default mask *). Not compatible mit /DECO and /DECR Keys for matching file mascs.
[/COEX MaskeFile1[ MaskeFile2[ ....]]] Not compress files with these masks. (Within the constraints of the key /CO)
[/COADD[ Text]] When you compress a file name to add text (default .cmcomp)
------------------------------------------- File decompress functions ------------------------------------------
[/DECO[ MaskeFile1[ MaskeFile2[ ....]]]] Deccompress files with this mask. (Within the limits of keys /MF,/MD,/XCD,/XCF,/XDMD,/XDMF) (default mask *). Not compatible mit /CO and /CR Keys for matching file mascs.
[/DECOEX MaskeFile1[ MaskeFile2[ ....]]] Not deccompress files with this mask. (Within the constraints of the key /DECO)
[/DECODEL[ Text]] By decompress remove from file name text (default .cmcomp).
------------------------------------------- Backup and restore functions ------------------------------------------
[/B Password] Backup mit compress und encrypt (equivalent combination of keys: /CO /CR /COADD /CRADD /OF)
[/R Password] Restore mit decrypt und decompress (equivalent combination of keys: /DECO /DECR /DECODEL /DECRDEL /OF)
------------------------------------------- Display and Log ------------------------------------------
[/ERR] Show only errors
[/NSKIP] Do not show information about missing files
[/NSTAT] Do not show statistics
[/ND] Do not display log
[/PRIORITY [name Priority]] Change the priority of the program. Name of priority can be set to SUPER_LOW (or LOW-), LOW, BELOW_NORMAL (or NORMAL-), NORMAL, ABOVE_NORMAL (or NORMAL+), HIGEST (or MAX). Default - NORMAL. Permitted a shortened form of the key [/PR [name Priority]]
[/CP CodePage] Code page number for the console output (default 65001 - UTF8). Possible values: 0 - ANSI, 1 - OEM, 2 - MAC, 3 - threads ANSI, 866 - OEM RUS, 65000 - UTF7, 65001 - UTF8 etc -1 (Minus) turns off the coding changes. Console font should allow display of this encoding!
[/LOG[ PathAndLogFile]] entry in the log file (UTF8 incl. Byte Order Mark - BOM) (the default CopyMik_{DATETIME}.log in the current folder). If the file already exists it will be overwritten. Record within the constraints of keys /ERR, /NSKIP and /NSTAT. In file name and path you can use predefined variables: {SP} - space character, {DATE} - date of the backup, {DATETIME} - date and time of the backup (see key /DTF), {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {QUOTE} - double quote, {EQUAL} - sign =
[/ADDLOG] to write the end of the log file if it already exists
[/LCSV [splitter]] to write the log file format delimited (as CSV). The default separator character - ; (you can use the variables {SP} - space character and {TAB} - tab). Columns: 1th - Status, 2th - Communication, 3th - Source file and/or folder, 4th - Trust file and/or folder
[/DCSV [splitter]] Displays the log on the screen in a delimited file format (such as CSV). The default separator character - ; (you can use the variables {SP} - space character and {TAB} - tab). Columns: 1th - Status, 2th - Communication, 3th - Source file and/or folder, 4th - Trust file and/or folder
/NOLOGTIME - do not display completion date and time of the current operation on the screen and in the log (for compatibility with old log)

------------------------------------------- Running programs, handling errors, Other -----------------------------------------
[/NHP] Disable paged help (without pause). Automatically includes key /HELP
[/PAUSE] Pause after completion of the program
[/PAUSEBYERROR] Pause after completing the program only if an error occurred
[/SE] Stop at the first error

[/SETEXITCODE] The use of the number of copied files (from 0 to N) and if the number of errors encountered an error with a minus sign (from -1 to -N) as the return code of the program. (Eg. For use in batch files).


[/EXEC command] For each successfully copied file to execute a program or batch file. You can use variables: {SRCFILE} - the source file, {DSTFILE} - destination file, {SRCDIR} - the source folder, {DSTDIR} - the destination folder, {SRC} - the original file and the path to it, {DST} - file and the destination folder, {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {NUMBER} - serial number of the file in the folder, {QUOTE} - double quote, {FNUMBER} serial number of the file when copying, {NUMBER} - serial number of folders for copying, {SP} - space character (space characters, please replace with {SP}, date format specifies key /DTF)
[/EXECPARAM Options] Command-line options for program or batch file in /EXEC. You can use variables: {SRCFILE} - the source file, {DSTFILE} - destination file, {SRCDIR} - the source folder, {DSTDIR} - the destination folder, {SRC} - the original file and the path to it, {DST} - file and the destination folder, {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {NUMBER} - serial number of the file in the folder, {QUOTE} - double quote, {FNUMBER} serial number of the file when copying, {NUMBER} - serial number of folders for copying, {SP} - space character (space characters, please replace with {SP}, date format specifies key /DTF)

[/ENDEXEC command] If the copying process did not have any errors then run a program or batch file. You can use variables: {SRCDIR} - the source folder, {DSTDIR} - destination folder, {LOG} - log file and the path to it, {LOGFILE} - log file, {LOGPATH} - path to the log file, {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {QUOTE} - double quote, {FNUMBER} The number of files copied, {NUMBER} - number of passed folders, {SP} - space character (space characters, please replace with {SP}, format {DATETIME} specifies key /DTF)
[/ENDEXECPARAM options]] Parameters for launching in /ENDEXEC program or batch file. You can use variables: {SRCDIR} - the source folder, {DSTDIR} - destination folder, {LOG} - log file and the path to it, {LOGFILE} - log file, {LOGPATH} - path to the log file, {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {QUOTE} - double quote, {FNUMBER} The number of files copied, {NUMBER} - number of passed folders, {SP} - space character (space characters, please replace with {SP}, format {DATETIME} specifies key /DTF)

[/ENDERREXEC command] If the copying process there is at least one error is to run a program or batch file. You can use variables: {SRCDIR} - the source folder, {DSTDIR} - destination folder, {LOG} - log file and the path to it, {LOGFILE} - log file, {LOGPATH} - path to the log file, {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {QUOTE} - double quote, {FNUMBER} The number of files copied, {NUMBER} - number of passed folders, {SP} - space character (space characters, please replace with {SP}, format {DATETIME} specifies key /DTF), {ERRORS} - errors
[/ENDERREXECPARAM options]] Parameters for launching in /ENDERREXEC program or batch file. You can use variables: {SRCDIR} - the source folder, {DSTDIR} - destination folder, {LOG} - log file and the path to it, {LOGFILE} - log file, {LOGPATH} - path to the log file, {DATE} - current date, {DATETIME} - the current date and time, {YEAR} - year number, {MONTHNAME} - name of the month, {DAYNAME} - weekday name, {MONTHOFYEAR} - month number of the year, {WEEKOFYEAR} - week number of the year, {WEEK OF MONTH} - week number of the month, {DAYOFYEAR} - day number of the year, {DAYOFMONTH} - day number of the month, {DAYOFWEEK} - day number of the week, {QUOTE} - double quote, {FNUMBER} The number of files copied, {NUMBER} - number of passed folders, {SP} - space character (space characters, please replace with {SP}, format {DATETIME} specifies key /DTF), {ERRORS} - errors

IMPORTANT!!! the result of key /ENDEXEC and /ENDERREXEC not recorded in the log file (see key /LOG), concluded only on the display. At the time of implementation of these keys log file is closed and is accessible for manipulation.

Examples of use CopyMik
Example 1:
copymik.exe c:\Documents d:\DocArchiv /MIR
Explanation:
Make a mirror copy of the Documents folder in the folder DocArchiv. 

Example 2:
copymik.exe c:\Documents d:\DocArchiv /MD buch* progr* important* /MF *.txt *.cpp *.jpg *.bmp /XCD .svn tmp* /XCF *.tmp *.db /OF
Explanation:
Copy all files with masks *.txt *.cpp *.jpg *.bmp from folders with masks buch* progr* important*
Do not copy folders with masks .svn tmp*.
Do not copy files with the masks *.tmp *.db Overwrite existing files

Example 3:
copymik.exe c:\Documents d:\DocArchiv /MD buch* progr* important* /MF *.txt *.cpp *.jpg *.bmp /XDMD important* /XDMF important* /OF
Explanation:
Copy all files with masks *.txt *.cpp *.jpg *.bmp from folders with masks buch* progr* important*
Folders with mask important* copy completely.
Overwrite existing files

Example 4:
copymik.exe c:\Documents d:\DocArchiv
Explanation:
Copy all files with masks * from folders with masks c:\Documents in d:\DocArchiv
Skip existing files (For Overwrite use key /OF)

Example 5:
copymik D:\Documents\ c:\EncryptByckup /MF *.txt *.doc *.rtf *.bin /CR /CRADD /CREX *.bin /CRPASS tralala /OF
Explanation:
Copy all files with masks *.txt *.doc *.rtf *.bin from folder Documents in folder EncryptByckup. All files with mask *.txt *.doc *.rtf by copy encrypt und rename (add ".cmcrypt" text). Files with mask *.bin only copy and not encrypt.If the files in the destination folder already exists, they are overwritten. Password for encryption "tralala", default algorithm DES.

Example 6:
copymik D:\Documents c:\EncryptByckup /MIR /CR /CRADD /CRPASS tralala
Explanation:
Mirror the folder Documents in folder EncryptByckup. All files encrypt und rename (add text ".cmcrypt"). Password for encryption "tralala", default algorithm DES. If the files in the sourse folder not exists und in target folder exist, they are deleted.

Example 7:
copymik D:\EncryptByckup c:\Documents /MIR /DECR /DECRDEL /DECRPASS tralala
Explanation:
Mirror the folder EncryptByckup in folder Documents. All files decrypt und rename (remove text ".cmcrypt"). Password for decryption "tralala", default algorithm DES. If the files in the source folder not exists und in target folder exist, they are deleted.

Example 8:
copymik D:\EncryptByckup c:\Documents /B mypass
Explanation:
Backup the folder EncryptByckup in folder Documents. All files compress and encrypt und rename (add text ".cmcomp.cmcrypt"). Password for encryption "mypass".

Example 9:
copymik D:\EncryptByckup c:\Documents /B mypass /DT 1
Explanation:
In contrast to Example 8 to compress and encrypt files only with the date change yesterday and today (minus 1 day). Encryption password "mypass".

Example 10:
copymik c:\Documents D:\EncryptByckup /R mypass
Explanation:
Restores (decrypts, decompresses and copies) files from the Documents folder to a folder EncryptByckup. The password for decryption "mypass".

Example 11:
copymik c:\Documents d:\Documents /NOF /NOD
Explanation:
Copy the files from c:\Documents folder to the d:\Documents. When copying to transliterate the names of files and folders.

Example 12:
copymik c:\Documents d:\Documents /STRD text{SP}22=folder{SP}55 /STRF {FEXT}=.abr
Explanation:
Copy the files from c:\Documents folder to the d:\Documents. When copying replace text in the names of folders "text 22" on "folder 55" and in the file name extension to ".abr".

Example 13:
copymik c:\Documents d:\Documents /MF *.doc /OF /CO /CR /CRPASS mypass /EXEC sendmail.bat /EXECPARAM {QUOTE}{DST}{QUOTE}
Explanation:
Сompresses, encrypts and copies files with extension doc (if the file exists then overwrites) from folder c:\Documents folder in the d:\Documents. Upon successful copying starts sendmail.bat passing it as a parameter to the path and name of the destination file enclosing them in quotation marks.

Example 14:
copymik c:\Documents d:\Archiv /MF *.doc /OF /LOG c:\Logs\BackupDoc\DocCopyLog_{DATETIME}.csv /LCSV {TAB} /ND /ENDERREXEC SendLogPerEmailToAdmin.bat /ENDERREXECPARAM {LOG} /ENDEXEC CopyToArchiv.bat /ENDEXECPARAM {LOG}
Explanation:
Сopies files with the doc (if the file exists then overwrites) from folder c:\Documents folder to d:\Archiv. The process is documented in a log file in the CSV format with dividers - tab. Name the log file - DocCopyLog_DateAndTimeOfCopy.csv. Displays information on the screen is turned off. If an error occurs in a batch file SendLogPerEmailToAdmin.bat is passed to the log file (eg to send the log admin by e-mail). If no error occurred in the command file CopyToArchiv.bat is passed to the log file (for example, to move to the archive)

Example 15:
copymik c:\Documents d:\Archiv /DELF *.tmp /DELFD *LOG*
Explanation:
Copy all files from the folder c:\Documents folder to d:\Archiv. And files with mask *.tmp in the folder with a mask *LOG* moves.

Example 16:
copymik c:\Documents d:\Archiv /MF *.doc /OF /SDTSF
Explanation:
Copies all doc files from folder c:\Documents folder to d:\Archiv. Overwritten only differ in size or date of the files.

Example 17:
copymik.exe c:\source d:\dist /PRIORITY LOW-
Explanation:
Copy files with minimal priority of copymik (background, without loading the system resources)

Example 18:
Automatically send error log (or any other modified file) on administrator E-Mail
Instructions:
1. Create a batch file CheckErrorLog.cmd as follows:
REM Move the error log file (*.elf) to the archive previously renamed (inserting the name of the date and time of move), 
REM if the movement had run a batch file EmailByError.bat passing it as a parameter link to a moved file
\\Server\ELF\copymik.exe \\Server\ProgramFolder \\Server\ELF\ALT /MF *.elf /NSKIP /XCD * /OF /SDTSF /DELF *.elf /STRF {FEXT}=.{DATETIME}{FEXT} /EXEC \\Server\ELF\EmailByError.bat /EXECPARAM {QUOTE}{DST}{QUOTE}{SP}{QUOTE}{SRC}{QUOTE}

2. Create a batch file EmailByError.bat, to send log on E-Mail Administrator, as follows (correct E-Mail sender and the receiver, the E-Mail caption, IP of SMTP Server and send log file):
rem Send E-Mail
\\Server\ELF\blat.exe %1 ^
-to administrator@domain.ru,Vasiliy Pupkin ^
-debug -timestamp -log blatSMTPlog.txt ^
-s "Error in program, log file - %1" ^
-i sender@domain.ru ^
-f "sender@domain.ru" ^
-q -server 192.168.1.22

3. Next, create periodically crown that periodically launches CheckErrorLog.cmd to perform. As soon as the error log file will appear in the program folder, it will be sent to Your E-Mail. To send E-Mail author uses freely distributed program blat 

Example 19:
copymik C:\backup\20160302103207\ C:\Documents\ /R mypassword /MF contract154.doc.cmcomp.cmcrypt /XCD
Explanation:
Restore from backup a single file - contract154.doc. Do not restore the folder tree.


Example 20:
Using copymik program return code in a batch file:
REM **********************
REM Backup file backup.bat
REM **********************
cls
@echo off
set /P pass="Password: "
if %pass% EQU "" exit /b 1

rem Backup C:\Documents\ in C:\Backup\{DATETIME}\ all files modified today
copymik C:\Documents\ C:\Backup\{DATETIME}\ /LOG c:\backup_{DATETIME}.log /SETEXITCODE /B %pass% /DT

if %ERRORLEVEL% EQU 0 goto :NOTCOPIED
if %ERRORLEVEL% GTR 0 goto :COPIED
if %ERRORLEVEL% LSS 0 goto :ERRCOPY

goto :EOF

:COPIED
REM %ERRORLEVEL% files copied
move c:\backup_*.log c:\Archiv\
goto :EOF

:ERRCOPY
REM %ERRORLEVEL% errors by copy
move c:\backup_*.log c:\Error\
goto :EOF

:NOTCOPIED
REM %ERRORLEVEL% = 0, files not copied
move c:\backup_*.log c:\Temp\
goto :EOF
REM **********************
REM End file backup.bat
REM **********************

Example 21:
copymik c:\Documents c:\backup /REPF 2 3 _{DATETIME}_
Copy files and folders from c: \ Documents in the c: \ backup replacing the file names from the 2nd to the 3rd inclusive character of the current date framed by underscores.

Source: readme_engl.txt, updated 2016-05-11